Need to merge multiple cell data into a new cell.

Z

zeebop

Hi,

I was wondering if someone could help me with an Excel function.
What I would like to do is automatically merge some cell data:

For example, i have a csv file with columns, infoline1, infoline2,
infoline3 etc..
I would like to create a new column, totalinfo, and I would like it to
be a collection of all the data found in the infoline1, infoline2
etc.. columns.

In addition, everytime new column data is added in I would like the
text <BR><BR> to be inserted. So effectivly each columns data is
seperated by <BR><BR>
Make sense?

An example file is here:
http://www.poweryard.com/example.csv
Row 2 has the added data.

Thanks for any pointers,

zeebop
 
K

KC Rippstein

Maybe
=IF(AND(A2="",B2="",C2=""),"",IF(A2<>"",A2,)&IF(B2<>"",IF(A2<>"","<BR>",)&B2,)&IF(C2<>"",IF(B2<>"","<BR>",)&C2,))
 
Top