+ Reply to Thread
Results 1 to 5 of 5

How to analyze missing "If false" parts of nested IF formulas

  1. #1
    Forum Contributor
    Join Date
    12-03-2008
    Location
    Key West, FL
    MS-Off Ver
    365 Apps for Enterprise
    Posts
    665

    How to analyze missing "If false" parts of nested IF formulas

    EDIT: I realize I need to rewrite the formula below to include an AND statement. Please disregard until I can try to fix the problem. I will update this post when I'm done.
    EDIT #2. I solved the problem. The formula which works for my needs (if anyone really wants to know!) is:

    Please Login or Register  to view this content.


    I often write nested IF formulas, and sometimes wind up with one which has a missing "if false" part. That part is almost always a
    Please Login or Register  to view this content.
    .

    I detect the problem when using it in a workbook which returns "FALSE" in the formula's cell instead of what I want, which is a "0."

    Usually I try to analyze the problem by breaking down the complete, nested formula into its components: One "IF" formula per line, which I paste into Windows Notepad.

    I also look at the end of the formula where there are multiple ")" such as
    Please Login or Register  to view this content.
    . If I move the cursor between each ")" I'll see the helper info stating "value if true" or "value if false."

    But the following formula has me stumped. Can you catch the error... and/or give me any hints on how to detect the missing "0" when I write these formulas in the future? (Or do you need more info to help me?)

    Please Login or Register  to view this content.



    Thanks
    Last edited by jrtaylor; 12-05-2018 at 11:59 AM.

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: How to analyze missing "If false" parts of nested IF formulas

    Have you stepped thru the formula using the Evaluate?

    Evaluate Formula
    • Click on the cell with the formula >> Ribbon >> Formulas >> Formula Auditing >> Evaluate Formula
    Last edited by jeffreybrown; 12-05-2018 at 11:50 AM.
    HTH
    Regards, Jeff

  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,496

    Re: How to analyze missing "If false" parts of nested IF formulas

    right now you are missing a few if true parts...
    so what do you want if BX47="S" and same if BX47="L"?
    otherwise you might have to decide if those are part of an OR or AND statement to include in your formula.

    I think that they currently are acting as AND statements.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  4. #4
    Forum Contributor
    Join Date
    12-03-2008
    Location
    Key West, FL
    MS-Off Ver
    365 Apps for Enterprise
    Posts
    665

    Re: How to analyze missing "If false" parts of nested IF formulas

    Hi I was editing my post then saw your comments. I appreciate your advice!

  5. #5
    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,496

    Re: How to analyze missing "If false" parts of nested IF formulas

    glad you resolved it.

    AND thank you for the rep!
    Last edited by Sam Capricci; 12-05-2018 at 12:11 PM.

+ 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. Nested IF formula returning "FALSE" instead of a numeric value
    By Kevin DeMartini in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-09-2017, 04:12 AM
  2. [SOLVED] Nested HLOOKUP returns "FALSE" in cell where result should be "0.00"
    By gammccubbin in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-09-2016, 09:49 AM
  3. [SOLVED] Nested If statment returing "FALSE" instead of value- URGENT
    By JenMcG in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-06-2014, 03:06 PM
  4. [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
  5. Replies: 5
    Last Post: 10-12-2010, 06:46 AM
  6. Replies: 5
    Last Post: 06-15-2010, 10:51 AM
  7. Replies: 7
    Last Post: 05-13-2006, 05:02 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