I have this function to calculate the average based on another column for the workbook that contains several worksheets
=AVERAGEIF(INDIRECT("'"&ROW(B5)-ROW(B$5)+1&"'!L7:M32"),A$1,INDIRECT("'"&ROW(B5)-ROW(B$5)+1&"'!D7:D32"))
How to use averageifs in case I want to calculate the average in D7:D32 for numbers >=0.8 and <=1.0 ?
I have used this function
=AVERAGEIFS(AVERAGEIF(INDIRECT("'"&ROW(B5)-ROW(B$5)+1&"'!L7:M32"),A$1,INDIRECT("'"&ROW(B5)-ROW(B$5)+1&"'!D7:D32")),INDIRECT("'"&ROW(B5)-ROW(B$5)+1&"'!D7:D32"),">=0.8",INDIRECT("'"&ROW(B5)-ROW(B$5)+1&"'!D7:D32"),"<=1")
But there is an error ??????
Any idea
Thanks
=AVERAGEIF(INDIRECT("'"&ROW(B5)-ROW(B$5)+1&"'!L7:M32"),A$1,INDIRECT("'"&ROW(B5)-ROW(B$5)+1&"'!D7:D32"))
How to use averageifs in case I want to calculate the average in D7:D32 for numbers >=0.8 and <=1.0 ?
I have used this function
=AVERAGEIFS(AVERAGEIF(INDIRECT("'"&ROW(B5)-ROW(B$5)+1&"'!L7:M32"),A$1,INDIRECT("'"&ROW(B5)-ROW(B$5)+1&"'!D7:D32")),INDIRECT("'"&ROW(B5)-ROW(B$5)+1&"'!D7:D32"),">=0.8",INDIRECT("'"&ROW(B5)-ROW(B$5)+1&"'!D7:D32"),"<=1")
But there is an error ??????
Any idea
Thanks