I have a workbook with four sheets.
All sheets have the same row:column format and relative references, as below
The three sheets have unique names and raw data reports. This fourth sheet is trying to do an average of all three data reports (i.e. cell B2 from all three sheets), provided they are non-zero and non-blank).
I've spent a few hours searching how to achieve AVERAGEIF conditional lookups and the only relevant one I found was related to sumproduct of doing sumifs/countifs. See formula written below:
=SUMPRODUCT(SUMIF(INDIRECT("'"&{"Sheet1","Sheet2","Sheet3"}&"'!B2"),"<>0"))/SUMPRODUCT(COUNTIF(INDIRECT("'"&{"Sheet1","Sheet2","Sheet3"}&"'!B2"),"<>0"))
The problem is when I copy this formula past cells B2 to B3 and C2 across the relative references do not change. Please help!
All sheets have the same row:column format and relative references, as below
The three sheets have unique names and raw data reports. This fourth sheet is trying to do an average of all three data reports (i.e. cell B2 from all three sheets), provided they are non-zero and non-blank).
I've spent a few hours searching how to achieve AVERAGEIF conditional lookups and the only relevant one I found was related to sumproduct of doing sumifs/countifs. See formula written below:
=SUMPRODUCT(SUMIF(INDIRECT("'"&{"Sheet1","Sheet2","Sheet3"}&"'!B2"),"<>0"))/SUMPRODUCT(COUNTIF(INDIRECT("'"&{"Sheet1","Sheet2","Sheet3"}&"'!B2"),"<>0"))
The problem is when I copy this formula past cells B2 to B3 and C2 across the relative references do not change. Please help!