Possible COUNTIF question across 12 Tabs

Little Bean

New Member
Joined
Jul 10, 2018
Messages
3
Hi. I have been having a browse for an answer to this question, but my solutions aren't working.

I have 12 tabs with figures, & a 13th tab with totals & average. The calculation for the total is below, but I would like a 2nd box to give me an average across the same 12 figures but only counting the ones that are not zero value

=Jan!Q3+Feb!Q3+Mar!Q3+Apr!Q3+May!Q3+Jun!Q3+Jul!Q3+Aug!Q3+Sept!Q3+Oct!Q3+Nov!Q3+Dec!Q3

Hope that makes sense, & thanks
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
not pretty but this would return number of non-zero months, so previous sum divided by non-zero months would be avereage:
=previous sum/(if(Jan!Q3>0,1,0)+if(Feb!Q3>0,1,0)...+if(Dec!Q3>0,1,0))
 
Last edited:
Upvote 0
It seems to me admissible to average negatives only or positives only or all numbers, but not both negatives and positives with the exclusion of zeros.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top