I am receiving the typical #div/0! error. I know what is causing the error, but I would very much like to resolve the error message with a method other than utilizing an IF statement within the current function.
My reason for this preference is that the current formula that is causing the error message is already rather long (see below) and is applied to a very large number of cells, which requires up to 40 seconds to process in its entirety when an update is made. An IF statement that repeats a large portion of the formula would lengthen the process time even moreso.
=(SUMPRODUCT(SUMIFS('Cash Receipts'!$F:$F,'Cash Receipts'!$A:$A,Income,'Cash Receipts'!$B:$B,$A35,'Cash Receipts'!$I:$I,">="&C$1,'Cash Receipts'!$I:$I,"<="&C$2))-SUMPRODUCT(COUNTIFS('Cash Receipts'!$A:$A,Income,'Cash Receipts'!$B:$B,$A35,'Cash Receipts'!$I:$I,">="&C$1,'Cash Receipts'!$I:$I,"<="&C$2))*(EOMONTH(C$1,0)+1))/SUMPRODUCT(COUNTIFS('Cash Receipts'!$A:$A,Income,'Cash Receipts'!$B:$B,$A35,'Cash Receipts'!$I:$I,">="&C$1,'Cash Receipts'!$I:$I,"<="&C$2))
I realize a workaround would be to insert the IF(ISERROR... function into another column on the same spreadsheet and hide the column with the errors, but I'm holding out hope for some method that simplifies the function or at the very least does not require additional time to process the function.
Any help would be appreciated.
Cheers
Bjordion
Bookmarks