Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Combine values of 3 columns into one

Posted on 2011-09-19
4
223 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

840 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