Sumproduct)indirect

Cooki

Board Regular
Joined
Jul 31, 2018
Messages
86
Cant get my sumproduct indirect to work

=SUMPRODUCT((INDIRECT($A$6&'[Metering Services 3 Productivity 2020 NEW.xlsx]"!$R$2:$R$100")),--MONTH((INDIRECT($A$6&'[Metering Services 3 Productivity 2020 NEW.xlsx]"!$B$2:$B$100")))=$AC$3)

A6 to Name of tab
B2:B100 is dates
R2:R100 is the values for those dates
AC3 is month i want to search for

Could anyone help please

Rich
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Hello!

It looks like there are some formatting issues in the formula, try this:

=SUMPRODUCT((INDIRECT($A$6&"'[Metering Services 3 Productivity 2020 NEW.xlsx]'!$R$2:$R$100")),--MONTH((INDIRECT($A$6&"'[Metering Services 3 Productivity 2020 NEW.xlsx]'!$B$2:$B$100")))=$AC$3)
 
Upvote 0
Please note that SUMPRODUCT is a calculation-intensive function which combined with INDIRECT always recalculates and thus may make your model quite slow.
 
Upvote 0
Hello!

It looks like there are some formatting issues in the formula, try this:

=SUMPRODUCT((INDIRECT($A$6&"'[Metering Services 3 Productivity 2020 NEW.xlsx]'!$R$2:$R$100")),--MONTH((INDIRECT($A$6&"'[Metering Services 3 Productivity 2020 NEW.xlsx]'!$B$2:$B$100")))=$AC$3)
Getting a #REF
 
Upvote 0

Forum statistics

Threads
1,214,920
Messages
6,122,279
Members
449,075
Latest member
staticfluids

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