excelNewbie22
Well-known Member
- Joined
- Aug 4, 2021
- Messages
- 528
- Office Version
- 365
- Platform
- Windows
hi,
how can i use a formula with an array instead of fill down?
like in the example, i want the formula in i2 to split the text of all the array of col h
like
only to cover all col h
so if add # like
it returns just the first number, like in p2
possible?
how can i use a formula with an array instead of fill down?
like in the example, i want the formula in i2 to split the text of all the array of col h
like
Excel Formula:
=TEXTSPLIT(H2,"-",,,,)
so if add # like
Excel Formula:
=TEXTSPLIT(H2#,"-",,,,)
possible?
test.xlsb | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | |||
1 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | ||||||||||||||||
2 | 1-2-3-4-5-6 | 1 | 2 | 3 | 4 | 5 | 6 | 1 | |||||||||||||||
3 | 1-2-3-4-5-7 | 1 | |||||||||||||||||||||
4 | 1-2-3-4-6-7 | 1 | |||||||||||||||||||||
5 | 1-2-3-5-6-7 | 1 | |||||||||||||||||||||
6 | 1-2-4-5-6-7 | 1 | |||||||||||||||||||||
7 | 1-3-4-5-6-7 | 1 | |||||||||||||||||||||
8 | 2-3-4-5-6-7 | 2 | |||||||||||||||||||||
test |
Cell Formulas | ||
---|---|---|
Range | Formula | |
H2:H8 | H2 | =LET(d,TOROW(A1:G1,1,1),N,6,c,COUNT(d),x,BYROW(IF(MOD(INT(SEQUENCE(2^c,,0)/2^SEQUENCE(,c,0)),2),d,""),LAMBDA(r,IF(COUNT(r)=N,TEXTJOIN("-",,r),""))),FILTER(x,x<>"")) |
I2:N2 | I2 | =TEXTSPLIT(H2,"-",,,,) |
P2:P8 | P2 | =TEXTSPLIT(H2#,"-",,,,) |
Dynamic array formulas. |