+ Reply to Thread
Results 1 to 6 of 6

NESTED IF returning false

  1. #1
    Registered User
    Join Date
    04-24-2019
    Location
    Manchester, England
    MS-Off Ver
    2013
    Posts
    3

    NESTED IF returning false

    Hello

    I'm not great with nested IF's and I've created one in the attached workbook which is giving FALSE as the result. I've looked on here to see if I can suss out what I'm doing wrong and I'm still non the wiser. Can anybody help me with this please?

    Thanks very much :-)
    Attached Files Attached Files

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: NESTED IF returning false

    may be the below
    =IF(D14="Above LEL",IF(Sheet2!G8<=52,"Following 33 weeks pay at SMP rate","then 12 weeks at 50% of annual earnings plus SMP"),IF(D14="LEL",IF(Sheet2!G8<=52,"then 12 weeks at 50% of earnings",""),""))
    Please Login or Register  to view this content.
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: NESTED IF returning false

    Your formula is over complicated as if something isn't met by the first condition it will be the second . Should <=52 be < 52 as does 52 meet your criteria. I am not sure what your conditions are, if you write them in english then it would be easier to check formula

    Please Login or Register  to view this content.
    Weeks Employed and earning level
    <52 and above LEL result is Following 33 weeks pay at SMP rate
    <52 and below LEL result is "then 12 weeks at 50% of earnings
    >=52 and above LEL result is then 12 weeks at 50% of annual earnings plus SMP
    >=52 and below LEL result is nothing
    is this what you really want?

  4. #4
    Registered User
    Join Date
    04-24-2019
    Location
    Manchester, England
    MS-Off Ver
    2013
    Posts
    3

    Re: NESTED IF returning false

    Sorry I've not made it very clear have I? The criteria is very confusing!

    It should be as follows:-
    <52 and above LEL result is Following 33 weeks pay at SMP rate
    <52 and below LEL result is nothing
    >=52 and above LEL result is then 12 weeks at 50% of annual earnings plus SMP
    >= 52 and below LEL result is Then 12 weeks at 50% of earnings

    Thanks for your help with this, much appreciated

  5. #5
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: NESTED IF returning false

    =IF(AND(D14="Above LEL",Sheet2!G8<=52),"Following 33 weeks pay at SMP rate",IF(D14="Above LEL","then 12 weeks at 50% of annual earnings plus SMP",IF(AND(D14="LEL",Sheet2!G8<=52),"","then 12 weeks at 50% of earnings")))

  6. #6
    Registered User
    Join Date
    04-24-2019
    Location
    Manchester, England
    MS-Off Ver
    2013
    Posts
    3

    Re: NESTED IF returning false

    Works perfectly, thanks so much. I will keep a note of this and use the AND going forward, much easier :-)

+ 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. FALSE returning from long nested IF formula but can't work out why
    By Evan69 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-22-2017, 09:41 AM
  2. Nested IF Statement returning False
    By pranjal79 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-25-2016, 12:23 PM
  3. 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
  4. Nested IF Returning False - Need to Return True for Three Scenarios
    By rhelmer in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-18-2015, 05:50 PM
  5. [SOLVED] Nested IF statements are returning FALSE values - cannot find error in code!
    By apex_chio in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-03-2013, 11:01 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. Replies: 5
    Last Post: 06-15-2010, 10:51 AM

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