Which function to check any value existed withing a list?

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

Guest

Does anyone know which function to perform checking any value within a list?
such as
a list {1,2,3,4,5,6,7,8,9}
a value {4}
then return true
Thank you
Eric
 
With your values in A1:A10 and your value to search for (4) in B1 tr
this:

=COUNTIF(A1:A10,B1)>0

This will return TRUE if there is a 4 (or any other value you put i
B1) in the list and FALSE if that value is not in the list
 

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