+ Reply to Thread
Results 1 to 4 of 4

Return a true false if a particular numbers appear in particular cells

  1. #1
    Forum Contributor
    Join Date
    11-13-2010
    Location
    Warren, Michigan
    MS-Off Ver
    Excel 2008 for Mac
    Posts
    307

    Return a true false if a particular numbers appear in particular cells

    In Cell A1=8, in Cell B1=3, in Cell C1=2

    I'm looking for a return of True/False or Yes/No if any of the above cells contain a 3,4,5,7 in Cell E1.
    Last edited by khank; 02-11-2012 at 03:06 PM.

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Return a true false if a particular numbers appear in particular cells

    How about...

    =IF(SUMPRODUCT(--ISNUMBER(MATCH(A1:C1,{3,4,5,7},0))),"Yes","No")
    HTH
    Regards, Jeff

  3. #3
    Forum Contributor
    Join Date
    11-13-2010
    Location
    Warren, Michigan
    MS-Off Ver
    Excel 2008 for Mac
    Posts
    307

    Re: Return a true false if a particular numbers appear in particular cells

    Thank you! Have a great weekend.

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Return a true false if a particular numbers appear in particular cells

    You're very welcome and glad it worked out for you

    Hope you also have a blessed weekend.

+ 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