• 0

Check number against list in Excel


Question

Alright. Here's what I need to do:

Type a number in a cell, and it checks against a list in another sheet, and displays in another Cell YES or NO.

What's the formula for this?

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

you can use the 'match' function (for match type, you can use '0') or vlookup (for column index, put '1', since your list has only one column). now, if the lookup value isn't contained in the list, you'll get a '#N/A' error. put all this together with an if-statement: =IF(ISERROR(MATCH(A1,LIST,0)),"NO","YES").

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.