+ Reply to Thread
Results 1 to 3 of 3

Inlist Function

  1. #1
    Registered User
    Join Date
    10-12-2007
    Posts
    21

    Inlist Function

    Is there a simple function that will return TRUE if an item is in a list and FALSE otherwise. I know I can do MATCH or VLOOKUP and then IF(ISERR..) sorta stuff; but it seems thre would be a more direct way.

    thank you for your time.

    Example

    I have ist of names.

    Billy
    Bobby
    Sally
    Sammy
    Ted
    Tom
    Clive
    Bubba

    and want to check if this name is on it:
    Joe.

  2. #2
    Valued Forum Contributor
    Join Date
    10-15-2007
    Location
    Home
    MS-Off Ver
    Office 2010, W10
    Posts
    373
    Hi Oscar

    You can also use countif

    =COUNTIF(A1:A10,"Joe")<>0

    HTH
    lecxe

  3. #3
    Registered User
    Join Date
    10-12-2007
    Posts
    21
    Quote Originally Posted by lecxe
    Hi Oscar

    You can also use countif

    =COUNTIF(A1:A10,"Joe")<>0

    HTH
    lecxe

    Hey! That's pretty cool.

    I've used Countif and Sumif a lot; but never followed by the "<> 0".
    Only used it to actually get a count or sum.

    That is handy.

    May you win the lottery.

    carry on.

+ 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