Average throughout the sheets

G

Gary

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.
 
C

Cin

I think you might have to click on every sheet:

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

Gary

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.
 
G

Gord Dibben

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
 
Top