Averaging across multiple sheets

JAMun169

New Member
Joined
Feb 11, 2016
Messages
3
Hey everyone!
I'm just starting out with excel and I'm working on formulas. What I'm trying to do is obtain the average of one cell across multiple sheets. Someone suggested a formula (which I failed to ask what it does) and was hoping that someone here could explain it for me, if you would please.

=SUM('Day1:Day31'!D3)/INDEX(FREQUENCY('Day1:Day31'!D3,0),2)


Would it be easier to use this instead: =AVERAGE(Day1:Day31!D3)


Thanks in advance for the input
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Re: Question about averaging across multiple sheets

Welcome to the board.

Would it be easier to use this instead: =AVERAGE(Day1:Day31!D3)
Thanks in advance for the input

Yes, that would certainly be easier. But unfortunately it's not possible.
Day1:Day31 is a special range reference, called a 3D range.
Only certain basic functions like SUM and COUNT work with that type of reference.
Frankly I'm suprused Frequency works with it, and it's quite awesome.

Basically what it's doing is SUM/COUNT

Average = Sum / Count

So the SUM function is pretty clear..

This part is returning a count of Non 0 numbers.
INDEX(FREQUENCY('Day1:Day31'!D3,0),2)

Hope that helps.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,910
Messages
6,175,318
Members
452,634
Latest member
cpostell

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