SUMPRODUCT accross multiple spreadsheets not working

MillyP

New Member
Joined
May 28, 2014
Messages
1
Hi there,
I'm trying to sum data from several tabs based on the date a payment was made.

I have a summary page where Column A lists the tab names in the workbook and Row B contains the dates.

Each tab lists the payments schedule for an individual supplier.

I have this formula in the summary sheet:-

=SUMPRODUCT(SUMIF(INDIRECT("'"&$A$6:$A$20&"'!$f$19:f100"),B$4,INDIRECT("'"&$A$6:$A$20&"'!g19:g100")))

I want the formula to look column F in each tab (the date) and add all the values in column G if the date in column F matches the date in row B on the summary sheet,

The formula only works on the first row (for CO):-

The figures for DECC HCT, DECC JL and PHE are not calculating.

Can anyone help please?


[TABLE="width: 638"]
<tbody>[TR]
[TD]Organisation[/TD]
[TD="align: right"]28-Feb-14[/TD]
[TD="align: right"]31-Mar-14[/TD]
[TD="align: right"]30-Apr-14[/TD]
[TD="align: right"]31-May-14[/TD]
[TD="align: right"]30-Jun-14[/TD]
[/TR]
[TR]
[TD]Column1[/TD]
[TD]April[/TD]
[TD]May[/TD]
[TD]June[/TD]
[TD]July[/TD]
[TD]August[/TD]
[/TR]
[TR]
[TD]CO[/TD]
[TD] 159,950[/TD]
[TD] 164,955[/TD]
[TD] 152,663[/TD]
[TD] 160,165[/TD]
[TD] 145,638[/TD]
[/TR]
[TR]
[TD]DECC HCT[/TD]
[TD] 159,950[/TD]
[TD] 164,955[/TD]
[TD] 152,663[/TD]
[TD] 160,165[/TD]
[TD] 145,638[/TD]
[/TR]
[TR]
[TD]DECC JL[/TD]
[TD] 159,950[/TD]
[TD] 164,955[/TD]
[TD] 152,663[/TD]
[TD] 160,165[/TD]
[TD] 145,638[/TD]
[/TR]
[TR]
[TD]PHE[/TD]
[TD] 159,950[/TD]
[TD] 164,955[/TD]
[TD] 152,663[/TD]
[TD] 160,165[/TD]
[TD] 145,638[/TD]
[/TR]
</tbody>[/TABLE]
 

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