Displaying Array

Casey

Board Regular
Joined
Feb 18, 2002
Messages
82
Does anyone know how to display an array in a cell without having to type each thing and concatenating like array(1) & array(2) & array(3) & etc
thanks
Casey
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
What do you mean by Array1 etc?

Is this in a Sub?

A very concise example could make your question much clearer.

If you mean a range of cells?

One could create a User-Defined Function to concatenate a single range?
 
Upvote 0
On 2002-04-04 12:03, Casey wrote:
Does anyone know how to display an array in a cell without having to type each thing and concatenating like array(1) & array(2) & array(3) & etc
thanks
Casey

Dowload Longre's morefunc.zip from:

http://perso.wanadoo.fr/longre/excel/downloads/

that contains a UFD, called MCONCAT.

=MCONCAT(A1:A5,",")

will concatenate the values in A1:A5, separated by commas.

=MCONCAT(A1:A5,",")&","&MCONCAT(B1:B5,",")

will do the same for two ranges of values.

Aladin
 
Upvote 0

Forum statistics

Threads
1,214,551
Messages
6,120,159
Members
448,948
Latest member
spamiki

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top