+ Reply to Thread
Results 1 to 2 of 2

Which function to check any value existed withing a list?

  1. #1
    Eric
    Guest

    Which function to check any value existed withing a list?

    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

  2. #2
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451
    With your values in A1:A10 and your value to search for (4) in B1 try this:

    =COUNTIF(A1:A10,B1)>0

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

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1