![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Feb 2002
Posts: 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 |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Feb 2002
Location: Calgary, Alberta Canada
Posts: 2,065
|
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? |
|
|
|
|
|
#3 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,319
|
Quote:
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 |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|