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

Is there a way to use SUMIF across multiple worksheets?

Thank you,

Daniel Dejeu
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default SUMIF across multiple worksheets.

Not by itself, but in various combinations.

Easiest is probably to make a datalist of your WS names,
then assign a name to the list,
and use that in conjunction with Sumproduct().

If you have 5 sheets, say list in Z1 to Z5.
Make sure spelling of sheet names are exactly the same as they appear in the
tabs.

Select Z1 to Z5,
click in the name box (left of formula bar),
type in something short, such as
list
then hit <Enter

Then, try something like this:
To total B1 to B10 on all the sheets, where values are greater then 200:

=SUMPRODUCT(SUMIF(INDIRECT("'"&list&"'!B1:B10")," 200"))

To total C1 to C10 on all the sheets, where the corresponding values in B1
to B10 are greater then 200:

=SUMPRODUCT(SUMIF(INDIRECT("'"&list&"'!B1:B10")," 200",INDIRECT("'"&list&"'!C1:C10")))


--
HTH,

RD

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


"Daniel Dejeu" <Daniel wrote in message
...
Is there a way to use SUMIF across multiple worksheets?

Thank you,

Daniel Dejeu



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default SUMIF across multiple worksheets.

This is working even better than what I had in mind.
Thanks a lot RD.

Daniel Dejeu

"RagDyer" wrote:

Not by itself, but in various combinations.

Easiest is probably to make a datalist of your WS names,
then assign a name to the list,
and use that in conjunction with Sumproduct().

If you have 5 sheets, say list in Z1 to Z5.
Make sure spelling of sheet names are exactly the same as they appear in the
tabs.

Select Z1 to Z5,
click in the name box (left of formula bar),
type in something short, such as
list
then hit <Enter

Then, try something like this:
To total B1 to B10 on all the sheets, where values are greater then 200:

=SUMPRODUCT(SUMIF(INDIRECT("'"&list&"'!B1:B10")," 200"))

To total C1 to C10 on all the sheets, where the corresponding values in B1
to B10 are greater then 200:

=SUMPRODUCT(SUMIF(INDIRECT("'"&list&"'!B1:B10")," 200",INDIRECT("'"&list&"'!C1:C10")))


--
HTH,

RD

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


"Daniel Dejeu" <Daniel wrote in message
...
Is there a way to use SUMIF across multiple worksheets?

Thank you,

Daniel Dejeu




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default SUMIF across multiple worksheets.

You're welcome, and thank you for the feed-back.
--

Regards,

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

"Daniel Dejeu" wrote in message
...
This is working even better than what I had in mind.
Thanks a lot RD.

Daniel Dejeu

"RagDyer" wrote:

Not by itself, but in various combinations.

Easiest is probably to make a datalist of your WS names,
then assign a name to the list,
and use that in conjunction with Sumproduct().

If you have 5 sheets, say list in Z1 to Z5.
Make sure spelling of sheet names are exactly the same as they appear in
the
tabs.

Select Z1 to Z5,
click in the name box (left of formula bar),
type in something short, such as
list
then hit <Enter

Then, try something like this:
To total B1 to B10 on all the sheets, where values are greater then 200:

=SUMPRODUCT(SUMIF(INDIRECT("'"&list&"'!B1:B10")," 200"))

To total C1 to C10 on all the sheets, where the corresponding values in B1
to B10 are greater then 200:

=SUMPRODUCT(SUMIF(INDIRECT("'"&list&"'!B1:B10")," 200",INDIRECT("'"&list&"'!C1:C10")))


--
HTH,

RD

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


"Daniel Dejeu" <Daniel wrote in message
...
Is there a way to use SUMIF across multiple worksheets?

Thank you,

Daniel Dejeu






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
SUMIF across multiple worksheets triffidbook Excel Worksheet Functions 9 January 4th 18 02:23 AM
SUMPRODUCT / SUMIF on Multiple Worksheets with Multiple Criteria kazoo Excel Discussion (Misc queries) 2 August 21st 08 06:22 PM
SumIf across multiple worksheets ChrisM Excel Worksheet Functions 4 September 22nd 06 04:20 PM
Sumif Across multiple worksheets Giantrobot Excel Worksheet Functions 2 June 15th 06 08:28 PM
Sumif with multiple worksheets Cbh35711 Excel Worksheet Functions 3 August 9th 05 02:49 PM


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

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

About Us

"It's about Microsoft Excel"