Consolidation

C

capnsean

I have a large amount of data in several columns that I would like to
put into one in the following manner:

A1=x
B1=y
C1=z

I want to consolidate x y and z with commas in one cell = x,y,z


Thanks for the help!
 
C

capnsean

I guess spacing doesn't work, and I won't want to tempt fate in trying
html.

What I mean is this:
A1=x
B1=y
C1=z

I want to consolidate x y and z with commas in one cell = x,y,z
 
D

Dave Peterson

=a1&","&b1&","&c1

if a1, b1 or c1 could be empty and you don't want x,,z, then this'll work, too:

=SUBSTITUTE(TRIM(A1&" "&B1&" "&C1)," ",",")
 
Top