Home » excel » Excel lookup value in rightmost alphanumeric cell in row

Excel lookup value in rightmost alphanumeric cell in row

Posted by: admin May 14, 2020 Leave a comment

Questions:

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.

How to&Answers:

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