Reputation: 13
I'm currently trying to do a lookup, and want to get the address of the result. Let's say A5->A20 contain names and I want to match it with the name in B1.
=cell("address",LOOKUP(B1,A20:A21))
This gives me a N/A. What should I do to get the address as a result?
Upvotes: 0
Views: 78
Reputation: 12497
Try this:
=IFERROR(ADDRESS(MATCH(B1,$A1:$A20,0), 1),"")
NB: 1
hard codes column A
.
Upvotes: 0