Hello,
Suppose I have the following expression to generate a sequence:
=LET(n,3,SEQUENCE(6,,n,1))
which generates {3;4;5;6;7;8}
Now, what if n was an array itself, like this {3,4} or {3;4}? How can I make the LET expression =LET(n,{3,4},SEQUENCE(6,,n,1)) or =LET(n,{3;4},SEQUENCE(6,,n,1))
generate a side-by-side spill of the following array:
{3;4;5;6;7;8,4;5;6;7;8;9}
I tried MAP, but I got the nested array not supported error.
I would appreciate any input!
Suppose I have the following expression to generate a sequence:
=LET(n,3,SEQUENCE(6,,n,1))
which generates {3;4;5;6;7;8}
Now, what if n was an array itself, like this {3,4} or {3;4}? How can I make the LET expression =LET(n,{3,4},SEQUENCE(6,,n,1)) or =LET(n,{3;4},SEQUENCE(6,,n,1))
generate a side-by-side spill of the following array:
{3;4;5;6;7;8,4;5;6;7;8;9}
I tried MAP, but I got the nested array not supported error.
I would appreciate any input!
Blank power workbook1 | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | |||
1 | ||||||||||||||
2 | 3 | 3 | 4 | 3 | #CALC! | |||||||||
3 | 4 | 4 | ||||||||||||
4 | 5 | |||||||||||||
5 | 6 | |||||||||||||
6 | 7 | |||||||||||||
7 | 8 | |||||||||||||
8 | ||||||||||||||
9 | desired output | desired output | desired output | |||||||||||
10 | 3 | 4 | 3 | 4 | 3 | 4 | ||||||||
11 | 4 | 5 | 4 | 5 | 4 | 5 | ||||||||
12 | 5 | 6 | 5 | 6 | 5 | 6 | ||||||||
13 | 6 | 7 | 6 | 7 | 6 | 7 | ||||||||
14 | 7 | 8 | 7 | 8 | 7 | 8 | ||||||||
15 | 8 | 9 | 8 | 9 | 8 | 9 | ||||||||
16 | ||||||||||||||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
B2:B7 | B2 | =LET(n,3,SEQUENCE(6,,n,1)) |
D2:E2 | D2 | =LET(n,{3,4},SEQUENCE(6,,n,1)) |
G2:G3 | G2 | =LET(n,{3;4},SEQUENCE(6,,n,1)) |
J2 | J2 | =LET(n,{3,4},MAP(n,LAMBDA(n,SEQUENCE(6,,n,1)))) |
Dynamic array formulas. |