SUMIFS to reference a closed workbook

kong1802

New Member
Joined
Feb 7, 2017
Messages
24
I've searched to find the answer and cannot get any solutions to work for me.

I'm running sumifs in a workbook to reference a closed workbook. It works fine with the referenced workbook is open, but as soon as it is closed, I get the #Value error.

Here is my formula:

=SUMIFS('[Location Timeline - 11.20.2017.xlsx]Timeline'!$MD:$MD,'[Location Timeline - 11.20.2017.xlsx]Timeline'!$A:$A,A12,'[Location Timeline - 11.20.2017.xlsx]Timeline'!$F:$F,"Total Rent")

Thanks for any help!
 

Some videos you may like

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,201
You need to switch to an array-processing formula... Something like one with SumProduct, for example:

=SUMPRDUCT('[Location Timeline - 11.20.2017.xlsx]Timeline'!$MD:$MD,('[Location Timeline - 11.20.2017.xlsx]Timeline'!$A:$A=A12)*('[Location Timeline - 11.20.2017.xlsx]Timeline'!$F:$F="Total Rent"))

Try to avoid the whole column references though for reasons of efficiency.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,335
Messages
5,595,569
Members
413,996
Latest member
mabelO

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
Top