Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default SUM function across multiple worksheets within one workbook

I'm having difficulty getting a sum of the contents of a cell that appears in
multiple worksheets in my workbook. It returns a VALUE error. It is:

=SUM(Master!Q2:'Week 1'!Q2)

where Master and Week 1 are the sheet names (with a Week 2 in between them).
I've also tried it with worksheets without an intervening one (i.e. summing
Q2 in weeks 1 and 2 worksheets), with the same VALUE error.

Am I doing it incorrectly, or does SUM not work across worksheets the same
way it does within a worksheet, and then, if so, what other alternative do I
have?

I know I can just use the =A+B+etc. function, but I don't want to have to
edit the workbook's summary function every time an intervening worksheet is
added.

Thanks!

--

John Reimer
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 897
Default SUM function across multiple worksheets within one workbook

Should be

=SUM(Master:'Week 1'!Q2)


HTH,
JP

On Jan 23, 12:16*pm, John Reimer
wrote:
I'm having difficulty getting a sum of the contents of a cell that appears in
multiple worksheets in my workbook. *It returns a VALUE error. *It is:

* * *=SUM(Master!Q2:'Week 1'!Q2)

where Master and Week 1 are the sheet names (with a Week 2 in between them).
*I've also tried it with worksheets without an intervening one (i.e. summing
Q2 in weeks 1 and 2 worksheets), with the same VALUE error. *

Am I doing it incorrectly, or does SUM not work across worksheets the same
way it does within a worksheet, and then, if so, what other alternative do I
have? *

I know I can just use the =A+B+etc. function, but I don't want to have to
edit the workbook's summary function every time an intervening worksheet is
added.

Thanks!

--

John Reimer


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default SUM function across multiple worksheets within one workbook

Or

=SUM('Master:Week 1'!Q2)

???

To the OP. I like to add two unused worksheets -- one to the right and one to
the left. I'll name them Start and End

Then I can use:

=sum(start:end!Q2)

And drag sheets in and out of this "sandwich" to play what if games.

JP wrote:

Should be

=SUM(Master:'Week 1'!Q2)

HTH,
JP

On Jan 23, 12:16 pm, John Reimer
wrote:
I'm having difficulty getting a sum of the contents of a cell that appears in
multiple worksheets in my workbook. It returns a VALUE error. It is:

=SUM(Master!Q2:'Week 1'!Q2)

where Master and Week 1 are the sheet names (with a Week 2 in between them).
I've also tried it with worksheets without an intervening one (i.e. summing
Q2 in weeks 1 and 2 worksheets), with the same VALUE error.

Am I doing it incorrectly, or does SUM not work across worksheets the same
way it does within a worksheet, and then, if so, what other alternative do I
have?

I know I can just use the =A+B+etc. function, but I don't want to have to
edit the workbook's summary function every time an intervening worksheet is
added.

Thanks!

--

John Reimer


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default SUM function across multiple worksheets within one workbook

Great idea Dave, consider it adopted. :)

--
John Reimer


"Dave Peterson" wrote:

Or

=SUM('Master:Week 1'!Q2)

???

To the OP. I like to add two unused worksheets -- one to the right and one to
the left. I'll name them Start and End

Then I can use:

=sum(start:end!Q2)

And drag sheets in and out of this "sandwich" to play what if games.

JP wrote:

Should be

=SUM(Master:'Week 1'!Q2)

HTH,
JP

On Jan 23, 12:16 pm, John Reimer
wrote:
I'm having difficulty getting a sum of the contents of a cell that appears in
multiple worksheets in my workbook. It returns a VALUE error. It is:

=SUM(Master!Q2:'Week 1'!Q2)

where Master and Week 1 are the sheet names (with a Week 2 in between them).
I've also tried it with worksheets without an intervening one (i.e. summing
Q2 in weeks 1 and 2 worksheets), with the same VALUE error.

Am I doing it incorrectly, or does SUM not work across worksheets the same
way it does within a worksheet, and then, if so, what other alternative do I
have?

I know I can just use the =A+B+etc. function, but I don't want to have to
edit the workbook's summary function every time an intervening worksheet is
added.

Thanks!

--

John Reimer


--

Dave Peterson

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default SUM function across multiple worksheets within one workbook

Thanks JP, if(HTH)=yes :-) that did the trick...
--
John Reimer


"JP" wrote:

Should be

=SUM(Master:'Week 1'!Q2)


HTH,
JP

On Jan 23, 12:16 pm, John Reimer
wrote:
I'm having difficulty getting a sum of the contents of a cell that appears in
multiple worksheets in my workbook. It returns a VALUE error. It is:

=SUM(Master!Q2:'Week 1'!Q2)

where Master and Week 1 are the sheet names (with a Week 2 in between them).
I've also tried it with worksheets without an intervening one (i.e. summing
Q2 in weeks 1 and 2 worksheets), with the same VALUE error.

Am I doing it incorrectly, or does SUM not work across worksheets the same
way it does within a worksheet, and then, if so, what other alternative do I
have?

I know I can just use the =A+B+etc. function, but I don't want to have to
edit the workbook's summary function every time an intervening worksheet is
added.

Thanks!

--

John Reimer





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
opening multiple files into one workbook, but multiple worksheets.... Andy Excel Discussion (Misc queries) 0 January 24th 07 06:34 PM
Open multiple files into multiple worksheets of the same workbook lil Matt Excel Discussion (Misc queries) 1 October 31st 06 09:03 PM
Combine multiple workbooks into 1 workbook w/ multiple worksheets buffgirl71 Excel Discussion (Misc queries) 1 May 13th 06 12:28 PM
Combine multiple workbooks into 1 workbook w/ multiple worksheets buffgirl71 Excel Discussion (Misc queries) 2 May 12th 06 10:30 PM
Multiple Worksheets in a workbook Bill Healy Excel Worksheet Functions 7 November 13th 04 01:04 AM


All times are GMT +1. The time now is 11:43 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"