+ Reply to Thread
Results 1 to 2 of 2

Recalculation Speed vs. Clarity with Nested IFs

  1. #1
    Registered User
    Join Date
    06-10-2012
    Location
    Bay Area, California
    MS-Off Ver
    Excel 2016
    Posts
    28

    Question Recalculation Speed vs. Clarity with Nested IFs

    I have a column of formulas with a several nested IF statements on a table with thousands of records. The data I'm processing is pretty consistent on the proportion of records that will branch into each of the IF true/false paths. The time Excel spends recalculating cells in this table is of paramount importance to the project.

    For clarity's sake, and since formulas with boatloads of nested IF's can get so hard to follow and maintain, I'm considering pre-calculating the true/false conditions that drive each of the branches into separate table columns. The (potential?) drawback I fear of pre-calculating IF conditions on separate columns is that I'm forcing Excel to recalculate these criteria on every row of my table.

    My question is on Excel's evaluation of nested IF statements: on a given cell with nested IF's, does Excel calculate every possible IF branch in the formula? Or does Excel only calculate the criteria needed to get the result, skipping the more infrequent conditional branches?

    Thanks!

  2. #2
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: Recalculation Speed vs. Clarity with Nested IFs

    In a nested IF statement, once it gets a "true" it stops calculating.
    Please consider:

    Thanking those who helped you. Click the star icon in the lower left part of the contributor's post and add Reputation.
    Cleaning up when you're done. Mark your thread [SOLVED] if you received your answer.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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