i need to refrence A1:A5 (which will return {1;2;3;4;5}) and then add B2:B5 to the end of that (which will return {6;7;8;9;10}), so the finished product will look like this {1;2;3;4;5;6;7;8;9;10}.
does anyone have any ideas? thanks
i need to refrence A1:A5 (which will return {1;2;3;4;5}) and then add B2:B5 to the end of that (which will return {6;7;8;9;10}), so the finished product will look like this {1;2;3;4;5;6;7;8;9;10}.
does anyone have any ideas? thanks
This will return the array desired:
INDEX(A1:B5,N(IF(1,MOD(ROW(1:10)-1,5)+1)),N(IF(1,INT((ROW(1:10)-1)/5)+1)))
You can test it by doing:
=INDEX(INDEX(A1:B5,N(IF(1,MOD(ROW(1:10)-1,5)+1)),N(IF(1,INT((ROW(1:10)-1)/5)+1))),7)
Which, when confirmed with Ctrl-Shift-Enter instead of Enter when exiting edit mode, will return the value in B2.