Average formula to ignore zeros over several tabs of data (in 1 spreadsheet)

michellepike

New Member
Joined
Aug 13, 2013
Messages
9
I have 12 tabs (1 for each month or period) in a spreadsheet and am trying to create a formula to give me an average from tab to tab but to ignore the 0.00%. (So the Period 2 tab needs average Pd1 & 2; the Period 3 tab needs average Pd1,2 & 3; and so and and so forth until Period 12 which needs to average the data from 12 tabs).

This is what I have so far (I am on the Period 3 tab so this is for Pd1, Pd2 and Pd3):

=SUM(('Pd 1-2015'!E78:K78,'Pd 2-2015'!E78:M78,G78:M78)/INDEX(FREQUENCY(('Pd 1-2015'!E78:K78,'Pd 2-2015'!E78:M78,G78:M78),0),2))

This is giving me #VALUE! error.

I've also tried

=AVERAGEIF(('Pd 1-2015'!E78:K78,'Pd 2-2015'!E78:M78,G78:M78),"<>0")

and get the same #VALUE! error.

Thank you so much in advance!
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.

Forum statistics

Threads
1,214,384
Messages
6,119,201
Members
448,874
Latest member
Lancelots

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