LOOKUP(2,1/($A$2:A10<>""),$A$2:A10)="X"
How do you avoid errors when there is no "X" in the lookup range?
Thanks
LOOKUP(2,1/($A$2:A10<>""),$A$2:A10)="X"
How do you avoid errors when there is no "X" in the lookup range?
Thanks
Maybe try:
=IFERROR(LOOKUP(2,1/($A$2:A10<>""),$A$2:A10)="X","")
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
IFERROR and prioritisation sorted it out.
Agree, thanks for your help.
You're welcome!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks