As part of my learning to work with excel, I got stuck in two places:
1 - Get to reference the row values in the column.
2 - Is there a better way to calculate the sequence.
Formula Used:
for 1st sequence
=SEQUENCE(A2, 1, 1,1)
for remaining sequence
=SEQUENCE(A3,1,LOOKUP(2,1/(B:B<>""),B:B)+ 1,1)
=SEQUENCE(A4,1,LOOKUP(2,1/(C:C<>""),C:C)+ 1,1)
=SEQUENCE(A5,1,LOOKUP(2,1/(D:D<>""),D:D)+ 1,1)
=SEQUENCE(A6,1,LOOKUP(2,1/(E:E<>""),E:E)+ 1,1)
...
Instead of manually reference A3, A4, A5, A6;
How do get row values to the column?
I have used LOOKUP()
to get the last value from the previous column and start the sequence. Just wanted to know if we have a better approach to do the same?
Output: