ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Average throughout the sheets (https://www.excelbanter.com/excel-worksheet-functions/129365-average-throughout-sheets.html)

Gary

Average throughout the sheets
 
hi all,

I have 17 sheets, the 17th one is the Summary sheet. Now in the cell B2 of
the 17th sheet I want to calculate the average of the cells B2 in all the 16
sheets, what will be the easiest way to do it? the sheet tabs are named as
Agent 1.......Agent 16.

is it something like =AVERAGE(Agent 1:Agent 16,B2)


Thanks in advance for any help.



Cin

Average throughout the sheets
 
I think you might have to click on every sheet:

=AVERAGE('Agent 2'!B2,'Agent 1'!B2) etc

"Gary" wrote:

hi all,

I have 17 sheets, the 17th one is the Summary sheet. Now in the cell B2 of
the 17th sheet I want to calculate the average of the cells B2 in all the 16
sheets, what will be the easiest way to do it? the sheet tabs are named as
Agent 1.......Agent 16.

is it something like =AVERAGE(Agent 1:Agent 16,B2)


Thanks in advance for any help.




Gary

Average throughout the sheets
 
Thanks Cin..but i worked it out.

I created 2 more sheets one in the beginning named 'Start' and one in the
end named 'End'.

Frmula in cell B2 on summary sheet - =Average(Start:End!B2)

Thanks though.

"Cin" wrote in message
...
I think you might have to click on every sheet:

=AVERAGE('Agent 2'!B2,'Agent 1'!B2) etc

"Gary" wrote:

hi all,

I have 17 sheets, the 17th one is the Summary sheet. Now in the cell B2
of
the 17th sheet I want to calculate the average of the cells B2 in all the
16
sheets, what will be the easiest way to do it? the sheet tabs are named
as
Agent 1.......Agent 16.

is it something like =AVERAGE(Agent 1:Agent 16,B2)


Thanks in advance for any help.






Gord Dibben

Average throughout the sheets
 
Gary

Very close.

=AVERAGE('Agent 1:Agent 16'!B2)

If you are going to be adding any new sheets it may be best to place a dummy
sheet at each end of your sheets.

Name them Start and End

Then =AVERAGE(Start:End!B2)

Now when inserting Agent 17, Agent 18 etc. make sure they are between Start and
End sheets. Will be included in the formula.


Gord Dibben MS Excel MVP


On Mon, 5 Feb 2007 15:09:17 -0700, "Gary" wrote:

hi all,

I have 17 sheets, the 17th one is the Summary sheet. Now in the cell B2 of
the 17th sheet I want to calculate the average of the cells B2 in all the 16
sheets, what will be the easiest way to do it? the sheet tabs are named as
Agent 1.......Agent 16.

is it something like =AVERAGE(Agent 1:Agent 16,B2)


Thanks in advance for any help.




All times are GMT +1. The time now is 05:30 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com