Nick Raeven
Nick Raeven

Reputation: 13

How-to lookup cell address

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

Answers (2)

Alex P
Alex P

Reputation: 12497

Try this:

=IFERROR(ADDRESS(MATCH(B1,$A1:$A20,0), 1),"")

NB: 1 hard codes column A.

Upvotes: 0

Scott Craner
Scott Craner

Reputation: 152660

To find the Address:

="A" & MATCH(B1,A:A,0)

Upvotes: 1

Related Questions