I have a range of letters in B2:B5
. In A8
, I have a formula that repeats each letter x number of times (4 in this case).
I want to do something similar, except I want the whole letter sequence repeated x number of times.
What's the best way to do this?
=XLOOKUP(
SEQUENCE(
SUM(
SEQUENCE(4,,4,0)
)
),
VSTACK(1,SCAN(1,SEQUENCE(4,,4,0),LAMBDA(a,b,a+b))
),
VSTACK(B2:B5,""),,-1
)