SUMIFS linked to another workbook brings back VALUE Error when data source not open

ardanni90

New Member
Joined
Dec 2, 2015
Messages
16
Hello all,

How can I have my SUMIFS formula return values when the data source is not open. I have tried adding an array but that does not work. I read about trying to convert the SUMIFS to AND or OR functions but I cant seem to figure out how to do that.

Here is the current formula:

=-SUMIFS('[2018 Debt Dashboard Model.xlsx]Debt with BMG'!$9:$9,'[2018 Debt Dashboard Model.xlsx]Debt with BMG'!$2:$2,C$5)/1000

Any information would be very helpful!

Thanks,
Adam
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
I get a VALUE error when I do that. Even when the data source is still open.

Can you help convert that formula into one where SUMPRODUCT would work?
 
Last edited:
Upvote 0
Untested

=SUMPRODUCT(('[2018 Debt Dashboard Model.xlsx]Debt with BMG'!$9:$9)*('[2018 Debt Dashboard Model.xlsx]Debt with BMG'!$2:$2=C$5))/1000
 
Upvote 0
Untested

=SUMPRODUCT(('[2018 Debt Dashboard Model.xlsx]Debt with BMG'!$9:$9)*('[2018 Debt Dashboard Model.xlsx]Debt with BMG'!$2:$2=C$5))/1000

Thank you! That worked. Do you know if there different function that would work for AVERAGEIS?

=-AVERAGEIFS('[2018 Debt Dashboard Model.xlsx]Debt with BMG'!$9:$9,'[2018 Debt Dashboard Model.xlsx]Debt with BMG'!$2:$2,">="&Dates!$E$7,'[2018 Debt Dashboard Model.xlsx]Debt with BMG'!$2:$2,"<="&Dates!$E$8)/1000
 
Upvote 0
Untested (check the results)

=-(SUMPRODUCT(('[2018 Debt Dashboard Model.xlsx]Debt with BMG'!$9:$9)*('[2018 Debt Dashboard Model.xlsx]Debt with BMG'!$2:$2>=Dates!$E$7)*('[2018 Debt Dashboard Model.xlsx]Debt with BMG'!$2:$2<=Dates!$E$8)))/(SUMPRODUCT(--(('[2018 Debt Dashboard Model.xlsx]Debt with BMG'!$9:$9)*('[2018 Debt Dashboard Model.xlsx]Debt with BMG'!$2:$2>=Dates!$E$7)*('[2018 Debt Dashboard Model.xlsx]Debt with BMG'!$2:$2<=Dates!$E$8))))/1000
 
Upvote 0

Forum statistics

Threads
1,214,943
Messages
6,122,370
Members
449,080
Latest member
Armadillos

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