A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
No, there isn't. You may want to use VBA for that.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I eventually want to be able to extract a subset of columns from a formally defined table. I can then use that subset wherever an array or range argument is needed. It would look something like:
{ myTable[FirstField], myTable[ThirdField], myTable[FifthField] }
where the braces delimit an array. If column arrays cannot be abbutted side-by-side, for some reason, then I planned to transpose them into rows, stack them, then transpose back.
Being new to array formulas and array notation in general, I started small. This array formula works, if I select the right sized range of cells (2 high, 3 wide):
={ TRANSPOSE({1;2;3}) , TRANSPOSE({1;2;3}) }
However, these doesn't:
= TRANSPOSE( TRANSPOSE( { 1,2,3 ; 4,5,6 } ) )
= { TRANSPOSE({1,2,3}) , TRANSPOSE({4,5,6} ) }
= { {1,2,3} ; {4,5,6} }
It seems that when you are building an array using curly braces, the elements within those braces cannot be arrays themselves.
Is there a good way to horizontally stack column arrays, without having to delve into VBA?
I guess the same question can be asked about vertically stacking row arrays. But my immediate interest is in the former.
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Answer accepted by question author
No, there isn't. You may want to use VBA for that.
Answer accepted by question author
It seems that when you are building an array using curly braces, the elements within those braces cannot be arrays themselves.
That is correct.
OK, thanks. :(
Thanks for clarifying. Somehow, I don't think there's a simple way to do what I was asking :( .