Finding a value within two rows

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

First, thank you for your help.
Is there a way to take a value from one cell say A1 and look within two
other rows say B1:B1000 and C1:C1000 and if there's a match say "Yes"?

Thank you
Joe
 
I'm sure there is a better way to do this, and I'm sure someone else will
come up with it. But in the meantime, this should work for your situation

=IF(ISERROR(MATCH(A1,B1:B1000,0)),IF(ISERROR(MATCH(A1,C1:C1000,0)),"No","Yes"),"Yes")

Of course you can put what you want to show up in the cell in place of "Yes"
and "No"

- Search
 
=IF(OR(ISNUMBER(MATCH(A1,B1:B1000,0)),ISNUMBER(MATCH(A1,C1:C1000,0))),"Yes",
"")

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
Hi,

You may also try the following array formula (Ctrl+Shift+Enter)

=or(exact(A1,B1:C1000))

Regards,

Ashish Mathur
 

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

Back
Top