UniMord
Active Member
- Joined
- May 6, 2002
- Messages
- 311
I have 2 questions regarding Excel efficiency.
- Do Excel's logical functions always evaluate every argument? Specifically, let's say I have a formula like this:
Code:[B]=IF([COLOR=navy]AND([/COLOR][/B]A2>A1[B][COLOR=navy],[/COLOR][/B] VLOOKUP(B2, RANGE_IN_DIFFERENT_WORKBOOK, 7) > MIN(SOME_RANGE)[B][COLOR=navy],[/COLOR][/B] SOME_CRAZY_EXPENSIVE_VOLATILE_FORMULA[B][COLOR=navy])[/COLOR][/B], etc...[B])[/B]
- Is using a formula in an Advanced Filter any cheaper than just manually applying the formula to every row and then filtering? For example, I can add a column with a multi-conditioned formula that evaluates to TRUE/FALSE, then filter that column, or I can use that formula just once in Advanced Filter. Is this more efficient, or is Excel still applying the formula, under the hood, to every row, so nothing is gained?