Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Re : Excel Formulation of 2-Dimensional Array
Re : Excel Formulation of 2-Dimensional Array
1. Look at the formula, =COLUMN(INDIRECT("A:O")) ; It produces a horizontal (1-dimensional) array : {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15}. That looks nice. 2. And now, the question is, How is it possible to devise a formula to give rise to a 2-dimensional (3-row x 5-column) array such as : {1,2,3,4,5;6,7,8,9,10;11,12,13,14,15} ? 3. Please share your experience. 4. Regards. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Re : Excel Formulation of 2-Dimensional Array
Try this:
=(ROW(1:3)-1)*5+COLUMN(A:E) (NOTE: don't think the INDIRECT is necessary since the result is independent of the actual addresses) " wrote: Re : Excel Formulation of 2-Dimensional Array 1. Look at the formula, =COLUMN(INDIRECT("A:O")) ; It produces a horizontal (1-dimensional) array : {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15}. That looks nice. 2. And now, the question is, How is it possible to devise a formula to give rise to a 2-dimensional (3-row x 5-column) array such as : {1,2,3,4,5;6,7,8,9,10;11,12,13,14,15} ? 3. Please share your experience. 4. Regards. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Using a two-dimensional array in Excel 2002 or 2003 | New Users to Excel | |||
Excel Array Conversion from 2-Dimensional to One | Excel Programming | |||
Create One-Dimensional Array from Two-Dimensional Array | Excel Programming | |||
add to two dimensional array | Excel Programming | |||
2 Dimensional Array | Excel Programming |