Hi all,
I am looking for 2 similar formulas which provide the following:
Formula 1: The data from the first none empty cell in a column
Formula 2: The data from the last none empty cell in a column
I found the following which provides the first: =INDEX(A2:A7,MATCH(TRUE,F:F<>"",0))
But I am unable to turn it around to show the last value.
The spreadsheet is large so needs to be efficient in its calculations.
The first few cells may be empty.
I was hoping both formulas would be of a similar function (IE, both using =INDEX, or =VLOOKUP).
So in the example table below, formula 1 should result in 1 or 2 (depending on which column we run it on), and formula 2 should result in 5 or 6 (depending on which column we run it on)
THANKS!
I am looking for 2 similar formulas which provide the following:
Formula 1: The data from the first none empty cell in a column
Formula 2: The data from the last none empty cell in a column
I found the following which provides the first: =INDEX(A2:A7,MATCH(TRUE,F:F<>"",0))
But I am unable to turn it around to show the last value.
The spreadsheet is large so needs to be efficient in its calculations.
The first few cells may be empty.
I was hoping both formulas would be of a similar function (IE, both using =INDEX, or =VLOOKUP).
So in the example table below, formula 1 should result in 1 or 2 (depending on which column we run it on), and formula 2 should result in 5 or 6 (depending on which column we run it on)
Odd Numbers | Even numbers |
1 | |
2 | |
3 | |
4 | |
5 | |
6 |
THANKS!