ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Summing Across Worksheets (https://www.excelbanter.com/excel-discussion-misc-queries/217046-summing-across-worksheets.html)

tonysoprano

Summing Across Worksheets
 
I'm trying to sum totals from half a dozen worksheets into a totals
worksheet. The various totals are located in different cells within their
respective worksheets. Why I try pasting the formula I get Name and Value
errors. This is an edited down version of the formula:
=SUM(A-B!D47:F-J!D12)

where A-B and F-J are the names of the worksheets. Anyone know why this
doesn't work?
Thanks in advance...

RagDyeR

Summing Across Worksheets
 
Try this:

=SUM('A-B'!D47,'F-J'!D12)
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"tonysoprano" wrote in message
...
I'm trying to sum totals from half a dozen worksheets into a totals
worksheet. The various totals are located in different cells within their
respective worksheets. Why I try pasting the formula I get Name and Value
errors. This is an edited down version of the formula:
=SUM(A-B!D47:F-J!D12)

where A-B and F-J are the names of the worksheets. Anyone know why this
doesn't work?
Thanks in advance...




JE McGimpsey

Summing Across Worksheets
 
It doesn't work because you're making up the wrong syntax.

Try

=SUM('A-B:F-J'!D12:D47)


In article ,
tonysoprano wrote:

I'm trying to sum totals from half a dozen worksheets into a totals
worksheet. The various totals are located in different cells within their
respective worksheets. Why I try pasting the formula I get Name and Value
errors. This is an edited down version of the formula:
=SUM(A-B!D47:F-J!D12)

where A-B and F-J are the names of the worksheets. Anyone know why this
doesn't work?
Thanks in advance...


JE McGimpsey

Summing Across Worksheets
 
Oops - disregard. I misinterpreted "different"

In article ,
JE McGimpsey wrote:

It doesn't work because you're making up the wrong syntax.

Try

=SUM('A-B:F-J'!D12:D47)


In article ,
tonysoprano wrote:

I'm trying to sum totals from half a dozen worksheets into a totals
worksheet. The various totals are located in different cells within their
respective worksheets. Why I try pasting the formula I get Name and Value
errors. This is an edited down version of the formula:
=SUM(A-B!D47:F-J!D12)

where A-B and F-J are the names of the worksheets. Anyone know why this
doesn't work?
Thanks in advance...


tonysoprano

Summing Across Worksheets
 
Thanks, that did it! I take it the quotes are there so that Excel wouldn't
think the sheet names were functions?


"RagDyer" wrote:

Try this:

=SUM('A-B'!D47,'F-J'!D12)
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"tonysoprano" wrote in message
...
I'm trying to sum totals from half a dozen worksheets into a totals
worksheet. The various totals are located in different cells within their
respective worksheets. Why I try pasting the formula I get Name and Value
errors. This is an edited down version of the formula:
=SUM(A-B!D47:F-J!D12)

where A-B and F-J are the names of the worksheets. Anyone know why this
doesn't work?
Thanks in advance...





RagDyeR

Summing Across Worksheets
 
Appreciate the feed-back.

The "+" and the "-" are the few symbols that XL allows in sheet names.

I think XL might treat them the same as <spaces, which do need the single
quotes.
--

Regards,

RD
-----------------------------------------------------------------------------------------------
Please keep all correspondence within the Group, so all may benefit !
-----------------------------------------------------------------------------------------------

"tonysoprano" wrote in message
...
Thanks, that did it! I take it the quotes are there so that Excel wouldn't
think the sheet names were functions?


"RagDyer" wrote:

Try this:

=SUM('A-B'!D47,'F-J'!D12)
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"tonysoprano" wrote in message
...
I'm trying to sum totals from half a dozen worksheets into a totals
worksheet. The various totals are located in different cells within
their
respective worksheets. Why I try pasting the formula I get Name and
Value
errors. This is an edited down version of the formula:
=SUM(A-B!D47:F-J!D12)

where A-B and F-J are the names of the worksheets. Anyone know why this
doesn't work?
Thanks in advance...








All times are GMT +1. The time now is 01:53 AM.

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