Hi,
Is there any way to evaluate a subformula which appears more than once within a formula only once?
For example, a common thing which I do is to replace an error value with some default like this:
=IF(ISERROR(f()), 0, f())
where f() is some excel formula.
Is there a way to only evaluate f() once? I tried using named formulae but it seems not to work (at least, for UDFs it didn't).
Alternatively, is there a function similar to the sql ISNULL() function to specify an alternative value if the value of a sub-formula is an error?
Thanks
Bookmarks