Simple lookup

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

Guest

I want to look at a fixed list of account numbers and check if a given number
is in that list. I'd prefer to do that without sorting on the list,a dn
VLOOKUP seems like overkill because I don't need to know any data associated
with the lookup number, I just need to know if its in the list.

Thanks
 
Something like ...

=IF(ISNA(MATCH(A1,B1:B10,0)),"Not Found", "Found")

Enter the above formula into a cell (say C1)
Enter some text in A1
If the matching text is found in cells B1 ~ B10, C1 will show "Found"
 
Bill,

Take a look at Excel's COUNTIF worksheet function in the on-line help.

For example, this formula returns the number of times the number 6 appears
in the range C1:C6 . . .

=COUNTIF(C1:C6,"6")
 

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