Logical formula from a list

C

charlie

I have a list of approved vendors (vendor numbers) on sheet 2. On sheet 1, I
need Excel to look at A1 to see if that vendor number is in the list of
approved numbers on sheet 2 and return true or false. How can I tell it to
look in the list of approx. 115 vendors to see if the number is approved?
 
G

Gary''s Student

Use COUNTIF():

Assuming the list is in column A on Sheet2:

=IF(COUNTIF(Sheet2!A:A,Sheet1!A1)>0,"On the list","Not on the list")
 
C

CRS

Charlie,
Disregard my previous post. I was thinking of a different scenario. Sorry.
 

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