Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Combine values of 3 columns into one

Posted on 2011-09-19
4
Medium Priority
?
231 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 2000 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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

810 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