+ Reply to Thread
Results 1 to 4 of 4

If then unless

  1. #1
    Registered User
    Join Date
    07-20-2014
    Location
    FLORIDA
    MS-Off Ver
    MICROSOFT OFFICE 2013
    Posts
    1

    If then unless

    I am not sure if any of this makes sense, but here is the definition of the formula that I need (image attached for reference)


    C1 IS FALSE IF B1 CONTAINS ANY ITEMS FROM F COLUMN IF NOT THEN TRUE - ALSO - C1 IS FALSE IF B1 CONTAINS ANY ITEM FROM E COLUMN UNLESS B2 CONTAINS ITEM FROM F COLUMN

    Capture.JPG

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,101

    Re: If then unless

    it would be easier to load a sample spreadsheet rather than an image

    C1 IS FALSE IF B1 CONTAINS ANY ITEMS FROM F COLUMN IF NOT THEN TRUE - ALSO - C1 IS FALSE IF B1 CONTAINS ANY ITEM FROM E COLUMN UNLESS B2 CONTAINS ITEM FROM F COLUMN

    in C1

    =IF ( countif(F:F, B1)>0, FALSE, IF( AND( countif(F:F, B1)=0 , countif(E:E, B1)>0) , FALSE, TRUE))

    Not sure what the ALSO means in your question

    I have set-out so that it tests for the first condition
    if B1 is in column F - then it puts FALSE
    if B1 id not in column F
    then it tests the next condition
    IF B1 is in column E AND B2 is NOT in column F -
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: If then unless

    Try this formula in C1 and drag it down...

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    or

    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Don't forget to click *

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: If then unless

    Mine little bit lengthy.....

    =IF(OR(ISNUMBER(MATCH(B1,F2:F5,0)),AND(ISNUMBER(MATCH(B1,E1:E5,0)),ISNA(MATCH(B2,F2:F5,0)))),"FALSE","TRUE")
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

+ 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