+ Reply to Thread
Results 1 to 5 of 5

IF with SUM can I add two [value if false] in nested IF?

  1. #1
    Registered User
    Join Date
    03-01-2020
    Location
    London
    MS-Off Ver
    2019
    Posts
    2

    IF with SUM can I add two [value if false] in nested IF?

    Hi Everyone,

    Glad I found this forum, I am taking a 60+ hours excel training covering really a lot however I came across something isn't really explained perhaps because not possible?

    =IF(SUM(E7+F7)>=20000,"Good",IF(SUM(E7+F7)<=15200,"","Poor"))

    I have this formula and I was trying to add an extra value if false

    =IF(SUM(E7+F7)>=20000,"Good","POOR",IF(SUM(E7+F7)<=15200,"","Very Poor"))

    However it does not let me do it despite the formula suggestions says I can add a value, I tried to mess with the () however perhaps I am missing something.

    Thank you everyone, hopefully I can be of help on other matters

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: IF with SUM can I add two [value if false] in nested IF?

    That is because if statements are IF ( this condition, then do this, otherwise do that) and then it ends.
    If you add another condition it needs to be IF ( this condition, then do this, IF ( second condition, then do this, etc but must come to an end eventually). You ended your second version when you put "POOR" in it so it will not look at the second IF statement.
    Also you might want to consider what happens if your value is 17000 or something between 20000 and 15200 as your first one does not account for that.
    hope that helps.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: IF with SUM can I add two [value if false] in nested IF?

    Maybe you want something like this
    IF(SUM(E7:F7)>=20000,"Good",IF(sum(E7:F7)>=15200,"POOR",IF(SUM(E7:F7)< 15200,"Very Poor","")))
    by the way, SUM(E7+F7) is the same as simply E7+F7 (without the SUM part) and if you want sums of individual cells you can do SUM(E7,F7,G7,H7 etc) but you don't need the plus signs in a SUM formula.
    The E7:F7 will be everything between E and F (which in this case is only the two columns anyway) but the colon makes it contiguous.
    so this SUM(E7,F7,G7,H7) would actually be replaced by this SUM(E7:H7).
    Last edited by Sam Capricci; 03-01-2020 at 09:03 AM.

  4. #4
    Registered User
    Join Date
    03-01-2020
    Location
    London
    MS-Off Ver
    2019
    Posts
    2

    Re: IF with SUM can I add two [value if false] in nested IF?

    Didn't think about using a single IF outcome with multiple IF!

    Will try this! Thank you very much!
    Last edited by AliGW; 03-01-2020 at 09:43 AM. Reason: Please don't quote unnecessarily!

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: IF with SUM can I add two [value if false] in nested IF?

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] NESTED IF returning false
    By VicAC in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-24-2019, 06:18 AM
  2. Getting rid of false result from nested if statements
    By jmenzel30 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-31-2018, 06:56 AM
  3. Nested IF Statement returning False
    By pranjal79 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-25-2016, 12:23 PM
  4. Nested If function returning FALSE instead of number
    By erimhast in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-09-2015, 07:47 PM
  5. [SOLVED] Nested IF Statement goes to False
    By unit285 in forum Excel General
    Replies: 14
    Last Post: 11-14-2015, 01:29 PM
  6. Nested IF returning FALSE value help
    By crash884 in forum Excel General
    Replies: 3
    Last Post: 08-13-2013, 01:31 PM
  7. False Negatives in Nested VLOOKUP
    By Bernardo in forum Excel General
    Replies: 6
    Last Post: 04-20-2011, 02:46 PM

Tags for this Thread

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