View Single Post
  #12   Report Post  
mj44
 
Posts: n/a
Default Concatenate multiple rows and columns into 1 cell

Ron,
When I try using =mconcat(a1:c500), my result is #NAME? Why would I get
this as a result?
--
Thank you,
mj44


"Ron Rosenfeld" wrote:

On Fri, 11 Nov 2005 11:56:07 -0800, "mj44"
wrote:

I have a spreadsheet using 3 columns and n number of rows worth of data. I
am trying to create one long string of this data by concatenating in the
following order:

A1,B1,C1,A2,B2,C2,A3,B3,C3, etc.

The only way I know how to do a large range is to individually click on each
cell and that will take a very long time.

Is there an easy way to concatenate a range such as (A1:C500)?

Thank you.


Download and install Longre's free morefunc.xll add-in from
http://xcell05.free.fr/

Then use the formula:

=MCONCAT(A1:C500,", ")

Be aware of this Excel specification, though:

Length of cell contents (text)
32,767 characters.
Only 1,024 display in a cell; all 32,767 display in the formula bar.


--ron