Function to sum same cell in several worksheets

S

Stephen White

Is there a function that will add the values of the same cell in several
worksheets?

Suppose I have 52 worskheets (one for each week in the year) and I want
to add the values in cell D3 on each and place the result in another
worksheet, is there a function that will save me having to type

='Sheet1'!D3+'Sheet2'!D3+'Sheet3'!D3+'Sheet4'!D3+'Sheet5'!D3+'Sheet6'!D3+'Sheet7'!D3
and so on?

I tried =SUM('Sheet1'!D3:'Sheet52'!D3) but it looks as though the result
is the sum of a block of cells spanning the 52 sheets.

What I am after is something like =SUM('Sheet1'!:'Sheet52'!,D3).
 
R

Roger Govier

I think that David meant to also remove the extraneous comma you had placed
in your formula

=SUM(sheet1:Sheet3!D3)
or
=SUM('Sheet1:Sheet52'!D3)
--
Regards
Roger Govier

David Biddulph said:
=SUM(Sheet1:Sheet52!,D3)
or
=SUM('Sheet1:Sheet52'!,D3)
 
S

Stephen White

Many thanks to mattjdohm, David and Roger.

I had begun to think that a summary sheet was part of the answer but
then David and Roger told me the syntax for the SUM function.

I couldn't quite believe that the SUM function would not do the trick.

Many thanks again.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top