1
votes

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?

enter image description here

Currently I am using the formula =IFERROR(LOOKUP(2,1/(A2:O2<>""),A2:O2),"NS")

but it returns MB0 instead of HB1.

1

1 Answers

2
votes

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")