M
MacBookProUser
Version: 2008
Operating System: Mac OS X 10.5 (Leopard)
Processor: Intel
Some of my formulas have to check for an DIV/0 error or other error conditions. Therefore, I've been using ISERROR in conjunction with an IF statement, however, the logical test is also the value. Is there a way to simplify the formula so I don't have to duplicate the expression twice?
IF(ISERROR(AVERAGEIFS('Working Area'!V:V,'Working Area'!$U:$U,MONTH($B$2), 'Working Area'!$B:$B,"Not registered",RegUsers!$T:$T,"Canada")), 0, AVERAGEIFS('Working Area'!V:V,'Working Area'!$U:$U,MONTH($B$2), 'Working Area'!$B:$B,"Not registered",RegUsers!$T:$T,"Canada"))
My approach above makes the formula inefficient and since I'm calculating a large number of these, it takes a significant amount of time.
Many thanks.
Operating System: Mac OS X 10.5 (Leopard)
Processor: Intel
Some of my formulas have to check for an DIV/0 error or other error conditions. Therefore, I've been using ISERROR in conjunction with an IF statement, however, the logical test is also the value. Is there a way to simplify the formula so I don't have to duplicate the expression twice?
IF(ISERROR(AVERAGEIFS('Working Area'!V:V,'Working Area'!$U:$U,MONTH($B$2), 'Working Area'!$B:$B,"Not registered",RegUsers!$T:$T,"Canada")), 0, AVERAGEIFS('Working Area'!V:V,'Working Area'!$U:$U,MONTH($B$2), 'Working Area'!$B:$B,"Not registered",RegUsers!$T:$T,"Canada"))
My approach above makes the formula inefficient and since I'm calculating a large number of these, it takes a significant amount of time.
Many thanks.