Ok. See attached.
First, if your actual sheet names do not have the pattern you show or similar... like if they are totally different, then list the sheetnames in your summary sheet somewhere... see P1:P6.. then name that list something like "TabNames", through Insert|Name|Define.
Then use formula:
=SUMPRODUCT(SUMIF(INDIRECT("'"&TabNames&"'!h16"),"<>0"))/SUMPRODUCT(COUNTIF(INDIRECT("'"&TabNames&"'!h16"),"<>0"))
See H16.
If your sheets are named in a pattern similar to your sample, then no need to create a list and named range... just use formula as per:
=SUMPRODUCT(SUMIF(INDIRECT("'SPARE "&ROW(INDIRECT("1:6"))&"'!H16"),"<>0"))/SUMPRODUCT(COUNTIF(INDIRECT("'SPARE "&ROW(INDIRECT("1:6"))&"'!H16"),"<>0"))
See P16.
Bookmarks