lookup help

C

Curtis

I need a formula in row E (e2:e500) that will look in range c2:c500 for a
value equal to that in range d2:d500.

ex:If there is a value in column c that matches that in column d I want
column e to say "OK". If not to show the value in column d

thanks
 
P

Pete_UK

Try this in E2:

=IF(ISNA(MATCH(D2:C$2:C$500,0)),D2,"OK")

then copy down.

Hope this helps.

Pete
 
C

Curtis

The values will not necessarily be in the same row so the formula needs to
look at the entire range
 

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