Find row value from column

G

Graham Haughs

It is probably better to explain what I am trying to do rather than show
the INDEX, MATCH and other permutations I have been trying and failing
miserably with. I have for example two columns of Data A & B. The values
in column B are unique so are no repeated anywhere else in the column.
If I have a value in cell D1 for example, say 31, I want to find that
value in Column B, if it exists, then return the value in Column A in
the same row. I hope this is understandable and if so I would be really
grateful for any ideas.

Regards
Graham Haughs
Turriff
Scotland
 
B

Bob Phillips

=IF(ISNA(MATCH(D1,B:B,0)),"",INDEX(A:A,MATCH(D1,B:B,0)))

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top