+ Reply to Thread
Results 1 to 5 of 5

Getting FALSE on nested ifs function

  1. #1
    Registered User
    Join Date
    06-01-2021
    Location
    Oslo
    MS-Off Ver
    Microsoft 365
    Posts
    4

    Getting FALSE on nested ifs function

    Hi.

    Function used:
    =IF(R17="X","", IF(I17>0, SUM(D17*D$5+E17+F17-I17, IF(I17<0, SUM(D17*D$5+E17+F17+I17, SUM(D17*D$5+E17+F17))))))

    1. If there's an X in cell R17 then there should be no output.
    2. If cell I17 is greater than 0 then do the following sum function.
    3. If cell I17 is less than 0 do the following sum function.
    4. If it doesn't fit any of the previous criterias do the last sum function.

    It's failing on the last two, less than 0 and doesn't fit any of the above criterias and the output is false.

    I suspect I'm failing at setting it up for more than two different scenarios, but can't quite figure out how to solve this.

    All help is appreciated and thank you in advance.

    Br,
    Eirik
    Last edited by eirik.joansen; 07-21-2021 at 07:25 PM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,461

    Re: Getting FALSE on nested ifs function

    You're missing some brackets.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    06-01-2021
    Location
    Oslo
    MS-Off Ver
    Microsoft 365
    Posts
    4

    Re: Getting FALSE on nested ifs function

    Quote Originally Posted by TMS View Post
    You're missing some brackets.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Thank you so much for the quick response. Worked like a charm.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,461

    Re: Getting FALSE on nested ifs function

    You're welcome.



    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

  5. #5
    Registered User
    Join Date
    12-01-2020
    Location
    singapore
    MS-Off Ver
    MS2016
    Posts
    35

    Re: Getting FALSE on nested ifs function

    Try
    =IF(R17="X","",IF(AND(I17>0,I17<0),SUM(D17*D$5+E17+F17-I17),SUM(D17*D$5+E17+F17)))

+ 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. Replies: 1
    Last Post: 03-02-2021, 10:50 PM
  2. [SOLVED] Nested IF Returns FALSE
    By 77highland in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-02-2020, 03:48 PM
  3. IF with SUM can I add two [value if false] in nested IF?
    By SandroUK in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-01-2020, 09:43 AM
  4. Replies: 2
    Last Post: 01-05-2019, 03:33 AM
  5. [SOLVED] Nested If Function Ignore False Values and Continue Evaluation + Concatenation
    By cullenju in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-18-2018, 11:52 AM
  6. 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
  7. [SOLVED] Nasty nested IF function will only return "value if false"
    By Postlki1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-20-2013, 05:19 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