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

Is it possible to have a SUMIF formula across multiple worksheets? If so,
how? Thank you.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,688
Default SUMIF across multiple worksheets

Yes, but you need to provide more details.

Biff

"Fgbdrum" wrote in message
...
Is it possible to have a SUMIF formula across multiple worksheets? If so,
how? Thank you.



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

On my "total" worksheet, I have a set of numbers in Column A.

These numbers appear in column A of 25 other worksheets as well. However, in
column B of these 25 other worksheets appear unique corresponding numbers. I
want to sum these unique numbers that appear in these 25 worksheets in column
B of my "total" worksheet using a sumif formula.

"Biff" wrote:

Yes, but you need to provide more details.

Biff

"Fgbdrum" wrote in message
...
Is it possible to have a SUMIF formula across multiple worksheets? If so,
how? Thank you.




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,688
Default SUMIF across multiple worksheets

If your sheet names follow some kind of pattern/sequence like the default
sheet names: Sheet2, Sheet3, Sheet4...Sheet25:

=SUMPRODUCT(SUMIF(INDIRECT("'Sheet"&ROW(INDIRECT(" 2:25"))&"'!A1:A10"),A1,INDIRECT("'Sheet"&ROW(INDIR ECT("2:25"))&"'!B1:B10")))

If your sheet names are unique like Alaska, Alabama, Arizona:

You have to list the sheet names in a range of cells, say, H1:H25, then:

=SUMPRODUCT(SUMIF(INDIRECT("'"&H$1:H$25&"'!A1:A10" ),A1,INDIRECT("'"&H$1:H$25&"'!B1:B10")))

Both formulas do the same thing:
Sumif(Sheet_names!A1:A10,A1,Sheet_names!B1:B10) then Sumproduct adds them
all up.

Biff

"Fgbdrum" wrote in message
...
On my "total" worksheet, I have a set of numbers in Column A.

These numbers appear in column A of 25 other worksheets as well. However,
in
column B of these 25 other worksheets appear unique corresponding numbers.
I
want to sum these unique numbers that appear in these 25 worksheets in
column
B of my "total" worksheet using a sumif formula.

"Biff" wrote:

Yes, but you need to provide more details.

Biff

"Fgbdrum" wrote in message
...
Is it possible to have a SUMIF formula across multiple worksheets? If
so,
how? Thank you.






  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 18
Default SUMIF across multiple worksheets

Biff,

Just wanted to thank you for taking the time. It worked out great. Thanks
again.

Fabio

"Biff" wrote:

If your sheet names follow some kind of pattern/sequence like the default
sheet names: Sheet2, Sheet3, Sheet4...Sheet25:

=SUMPRODUCT(SUMIF(INDIRECT("'Sheet"&ROW(INDIRECT(" 2:25"))&"'!A1:A10"),A1,INDIRECT("'Sheet"&ROW(INDIR ECT("2:25"))&"'!B1:B10")))

If your sheet names are unique like Alaska, Alabama, Arizona:

You have to list the sheet names in a range of cells, say, H1:H25, then:

=SUMPRODUCT(SUMIF(INDIRECT("'"&H$1:H$25&"'!A1:A10" ),A1,INDIRECT("'"&H$1:H$25&"'!B1:B10")))

Both formulas do the same thing:
Sumif(Sheet_names!A1:A10,A1,Sheet_names!B1:B10) then Sumproduct adds them
all up.

Biff

"Fgbdrum" wrote in message
...
On my "total" worksheet, I have a set of numbers in Column A.

These numbers appear in column A of 25 other worksheets as well. However,
in
column B of these 25 other worksheets appear unique corresponding numbers.
I
want to sum these unique numbers that appear in these 25 worksheets in
column
B of my "total" worksheet using a sumif formula.

"Biff" wrote:

Yes, but you need to provide more details.

Biff

"Fgbdrum" wrote in message
...
Is it possible to have a SUMIF formula across multiple worksheets? If
so,
how? Thank you.








  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,688
Default SUMIF across multiple worksheets

You're welcome. Thanks for the feedback!

Biff

"Fgbdrum" wrote in message
...
Biff,

Just wanted to thank you for taking the time. It worked out great. Thanks
again.

Fabio

"Biff" wrote:

If your sheet names follow some kind of pattern/sequence like the default
sheet names: Sheet2, Sheet3, Sheet4...Sheet25:

=SUMPRODUCT(SUMIF(INDIRECT("'Sheet"&ROW(INDIRECT(" 2:25"))&"'!A1:A10"),A1,INDIRECT("'Sheet"&ROW(INDIR ECT("2:25"))&"'!B1:B10")))

If your sheet names are unique like Alaska, Alabama, Arizona:

You have to list the sheet names in a range of cells, say, H1:H25, then:

=SUMPRODUCT(SUMIF(INDIRECT("'"&H$1:H$25&"'!A1:A10" ),A1,INDIRECT("'"&H$1:H$25&"'!B1:B10")))

Both formulas do the same thing:
Sumif(Sheet_names!A1:A10,A1,Sheet_names!B1:B10) then Sumproduct adds them
all up.

Biff

"Fgbdrum" wrote in message
...
On my "total" worksheet, I have a set of numbers in Column A.

These numbers appear in column A of 25 other worksheets as well.
However,
in
column B of these 25 other worksheets appear unique corresponding
numbers.
I
want to sum these unique numbers that appear in these 25 worksheets in
column
B of my "total" worksheet using a sumif formula.

"Biff" wrote:

Yes, but you need to provide more details.

Biff

"Fgbdrum" wrote in message
...
Is it possible to have a SUMIF formula across multiple worksheets?
If
so,
how? Thank you.








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
Functions across multiple worksheets starlight Excel Worksheet Functions 0 August 10th 05 05:10 PM
Sumif with multiple worksheets Cbh35711 Excel Worksheet Functions 3 August 9th 05 02:49 PM
Update multiple worksheets Lizz45ie Excel Discussion (Misc queries) 0 May 31st 05 09:21 PM
how do I arrange multiple worksheets from the same workbook skytags Excel Discussion (Misc queries) 2 April 28th 05 06:46 PM
Extracting data from multiple worksheets into a list mnirula Excel Worksheet Functions 16 February 25th 05 08:52 PM


All times are GMT +1. The time now is 07:54 PM.

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"