xcellrodeo
Board Regular
- Joined
- Oct 27, 2008
- Messages
- 206
Hi everyone,
I have a range of data starting in Row A8 and ending in AL45.
What I am trying to do is to return the last value in each row.
The twist in the matter is that the column within the row to be evaluated varies. i.e
This would represent the range for which I need the latest value to be returned
=INDEX(L9:O9,1,MAX(--(L9:O9<>"")*COLUMN(L9:O9)))
However I am finding that only the lower formula works.
=INDEX(A14:O14,1,MAX(--(A14:O14<>"")*COLUMN(A14:O14)))
Whenever I change A14:O14 to L9:O9, an error message #Ref or #Value is returned.
Can somebody help?
Thanks
I have a range of data starting in Row A8 and ending in AL45.
What I am trying to do is to return the last value in each row.
The twist in the matter is that the column within the row to be evaluated varies. i.e
This would represent the range for which I need the latest value to be returned
=INDEX(L9:O9,1,MAX(--(L9:O9<>"")*COLUMN(L9:O9)))
However I am finding that only the lower formula works.
=INDEX(A14:O14,1,MAX(--(A14:O14<>"")*COLUMN(A14:O14)))
Whenever I change A14:O14 to L9:O9, an error message #Ref or #Value is returned.
Can somebody help?
Thanks