Forum Discussion

AlphaEra's avatar
AlphaEra
Brass Contributor
Aug 21, 2025
Solved

Will I save resource when adding an If function before complicated functions?

Hi! I just have a simple question. Will I save resource by adding an IF function before doing complicated functions? Or Excel will do all the functions first and return the result, no matter if the...
  • SergeiBaklan's avatar
    Aug 22, 2025

    Yes, IF() evaluates expression for the first found (in case of nested IF) TRUE condition and skips the rest.  If no TRUE is found it returns result for final FALSE. In opposite to IFS() or SWITCH() which evaluate expressions for every condition.