Archived

This topic is now archived and is closed to further replies.

Check number against list in Excel

Recommended Posts

Nashy    1,364

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?

Share this post


Link to post
Share on other sites
dreamz    4

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").

Share this post


Link to post
Share on other sites
Nashy    1,364

Thanks! That's perfect!!

Share this post


Link to post
Share on other sites
dreamz    4

glad i could help. :)

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.