+ Reply to Thread
Results 1 to 6 of 6

IF/AND Formula Returning "FALSE" instead of "" (NULL)

  1. #1
    Registered User
    Join Date
    12-21-2011
    Location
    Dallas, Texas
    MS-Off Ver
    Excel 2010
    Posts
    19

    IF/AND Formula Returning "FALSE" instead of "" (NULL)

    This is what I am using.
    =IF(C9>=1,IF(D19=MAX(D19:D23),100,""))

    Background of what I want it to do:

    1. C9 is a cell that has to be 100% or greater for this cell to display anything.
    2. D19 is a salesman's % to sales that he currently has as compared to his quota.
    3. D19:D23 is all 5 of the salesman's % to sales and checks to see if it is the MAX of the 5 percentages. If it is the max it displays "100", if not it should display nothing, or NULL.

    However, it is displaying "FALSE" if cell C9 is not greater than or equal to 1. I can't figure it out. Any advice would be appreciated. Thanks!
    Last edited by sourbeer; 03-22-2012 at 11:04 AM. Reason: Solved

  2. #2
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: IF/AND Formula Returning "FALSE" instead of "" (NULL)

    Add another ""

    =IF(C9>=1,IF(D19=MAX(D19:D23),100,""),"")

  3. #3
    Registered User
    Join Date
    12-21-2011
    Location
    Dallas, Texas
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: IF/AND Formula Returning "FALSE" instead of "" (NULL)

    Why did that work????

    I am still trying to wrap my head around these formulas. Why did that work?

  4. #4
    Forum Contributor
    Join Date
    01-24-2011
    Location
    Sheppey
    MS-Off Ver
    Excel 2010
    Posts
    239

    Re: IF/AND Formula Returning "FALSE" instead of "" (NULL)

    =IF(C9>=1,IF(D19=MAX(D19:D23),100,""),"") are you missing the last set of ( ,"" ) from your formula ?

  5. #5
    Forum Contributor
    Join Date
    01-24-2011
    Location
    Sheppey
    MS-Off Ver
    Excel 2010
    Posts
    239

    Re: IF/AND Formula Returning "FALSE" instead of "" (NULL)

    The second if statement is correct as it has a logical test (D19=MAX(D19:D23), value if true (100) and value if false ("") but the first if statement has
    logical test (C9>=1), value if true (IF(D19=MAX(D19:D23),100,"") but no value if false ! and so the " FALSE" is returned.

  6. #6
    Registered User
    Join Date
    12-21-2011
    Location
    Dallas, Texas
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: IF/AND Formula Returning "FALSE" instead of "" (NULL)

    Ok, I see. I always forget that each IF statement needs its TRUE and FALSE parameters set. Thanks!

+ 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