Solved

Combine values of 3 columns into one

Posted on 2011-09-19
4
220 Views
Last Modified: 2012-08-13
I have 3 Columns : K, L, M.
Sample values in a row : (K) Dog (L) Grooming (M) Shampoo

I want to string all the values together and put them in another column (like "X" for example) so they look like this :
Dog,Grooming,Shampoo

word, comma (no space) word, comma . .

Can this be done? thanks
0
Comment
Question by:MikeMCSD
  • 3
4 Comments
 
LVL 15

Expert Comment

by:Haris Djulic
ID: 36560475
use function =CONCATENATE

=CONCATENATE(k1;",";l1;",";m1)

0
 
LVL 15

Accepted Solution

by:
Haris Djulic earned 500 total points
ID: 36560495
with trimming spaces and making sure that they are text..

=CONCATENATE(trim(text(k1;0));",";trim(text(l1;0));",";trim(text(m1;0)))
0
 
LVL 16

Author Comment

by:MikeMCSD
ID: 36561370
thanks . .
I put this formula in X2, but it doesn't display the values, it displays only the forumula.
How do I get this applied to all 2000 rows?
0
 
LVL 15

Expert Comment

by:Haris Djulic
ID: 36561430
it seams that you column X is formated as text. in order to apply the formula , format the column X as General , and then paste the formula
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Sparklines have been introduced with Excel 2010 and are a useful tool for creating small in-cell charts, used for example in dashboards. Excel 2010 offers three different types of Sparklines: Line, Column and Win/Loss. What it does not offer is a…
Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now