SumIf across sheets

Wolfgang17

Board Regular
Joined
Nov 8, 2010
Messages
63
I am trying to sum a range of cells across two sheets. The sheet names are "Dec 19 2010" and "Dec 26 2010". I would like to sum the total of range J10:J30 on both sheets if the criteria of "6-Fixed OT", which is held in cell T3 on my "Summary" sheet, is selected from range K10:K30 on both sheets.

I've tried the formula below with many similiar variations with no success. Any help would be appreciated.

=SUMPRODUCT(SUMIF(INDIRECT(""& 'Dec 19 2010 : Dec 26 2010'!K10:K30"),Summary!T3,INDIRECT(""&' Dec 19 2010 : Dec 26 2010'!"J10:J30)

Thanks
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
I am trying to sum a range of cells across two sheets. The sheet names are "Dec 19 2010" and "Dec 26 2010". I would like to sum the total of range J10:J30 on both sheets if the criteria of "6-Fixed OT", which is held in cell T3 on my "Summary" sheet, is selected from range K10:K30 on both sheets.

I've tried the formula below with many similiar variations with no success. Any help would be appreciated.

=SUMPRODUCT(SUMIF(INDIRECT(""& 'Dec 19 2010 : Dec 26 2010'!K10:K30"),Summary!T3,INDIRECT(""&' Dec 19 2010 : Dec 26 2010'!"J10:J30)

Thanks

Create a 2-cell range on Summary, say, in A2:A3:
Enter the relevant sheet names in this range one by one.
Name A2:A3 SheetList via the Name Box on the Formula Bar.

Now invoke:

=SUMPRODUCT(SUMIF(INDIRECT("'"&SheetList&"'!K10:K30"),Summary!T3,INDIRECT("'"&SheetList&"'!J10:J30")
 
Upvote 0
I keep getting a "Your Formula is missing a Parenthesis...." error. I can't figure out where though.
=SUMPRODUCT(SUMIF(INDIRECT("'"&Cheque1&"'!K10:K30"),Summary!T3,INDIRECT("'"&Cheque1&"'!J10:J30")

Thanks
 
Upvote 0
I keep getting a "Your Formula is missing a Parenthesis...." error. I can't figure out where though.
=SUMPRODUCT(SUMIF(INDIRECT("'"&Cheque1&"'!K10:K30"),Summary!T3,INDIRECT("'"&Cheque1&"'!J10:J30")

Thanks

The closing paren for SumProduct is missing...
Code:
=SUMPRODUCT(
   SUMIF(INDIRECT("'"&Cheque1&"'!K10:K30"),
             Summary!T3,
             INDIRECT("'"&Cheque1&"'!J10:J30"))
 
Upvote 0
I am trying to get this to work. I am not sure it's even possible to sum multiple ranges like this. Any help would be appreciated.

=SUMPRODUCT(SUMIF(INDIRECT("'"&Cheque1&"'!c10:c30"),Summary!p4,INDIRECT("'"&Cheque1&"'!J10:J30,H10:H30,M10:M30")))

Thanks
 
Upvote 0
I am trying to get this to work. I am not sure it's even possible to sum multiple ranges like this. Any help would be appreciated.

=SUMPRODUCT(SUMIF(INDIRECT("'"&Cheque1&"'!c10:c30"),Summary!p4,INDIRECT("'"&Cheque1&"'!J10:J30,H10:H30,M10:M30")))

Thanks

A viable option is to create additinoal columns in the target sheets which sum those ranges, say, in Z10:Z30. This action allows for:

=SUMPRODUCT(SUMIF(INDIRECT("'"&Cheque1&"'!C10:C30"),Summary!p4,INDIRECT("'"&Cheque1&"'!Z10:Z30")))
 
Upvote 0

Forum statistics

Threads
1,217,397
Messages
6,136,387
Members
450,007
Latest member
simplekwood

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top