Reputation: 41
I imagine that I have a row with two kinds of alphanumeric values, one that has 0, and another that has a digit above 0.
If I want to find the rightmost cell that has a value above 0 such as 1, what would the formula be?
Currently I am using the formula =IFERROR(LOOKUP(2,1/(A2:O2<>""),A2:O2),"NS")
but it returns MB0 instead of HB1.
Upvotes: 1
Views: 132
Reputation: 5902
I'd suggest trying like below if number part is always rightmost part of the string.
=IFERROR(LOOKUP(2,1/RIGHT(A2:O2),A2:O2),"NS")
Upvotes: 2