SUMIFS Closed Workbook Workaround with Multiple Criteria Array

doesnt excel

New Member
Joined
Jun 24, 2019
Messages
1
Hello,

I am having trouble figuring out a way to make this formula work when the source workbook is closed:

=SUM(SUMIFS('Workbook A.xlsx]Sheet1'!$E$2:$E$2000,'[Workbook A.xlsx]Sheet1'!$B$2:$B$2000,$A2,'[Workbook A.xlsx]Sheet1'!$D$2:$D$2000,{"Apples","Oranges"}))

This formula is working fine when Workbook A is open, and other fields in the form using a VLOOKUP referencing workbook A work when it's closed, so I believe this is an issue with the SUMIFS function.

Microsoft says this is a known issue here: https://support.office.com/en-us/ar...function-e65ce689-978e-44b1-a649-160ed5f13b5a

I found a previous forum post addressing a similar circumstance here: https://www.mrexcel.com/forum/excel-questions/990042-value-sumifs-referencing-closed-workbook.html

I couldn't figure out how to use the workarounds suggested there because I have a nested SUM and SUMIFS formula and I have an array in the criteria at the end.

Any suggestions?

Thank you in advance!
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Try the following formula, which needs to be confirmed with CONTROL+SHIFT+ENTER...

Code:
=SUM(IF('[Workbook A.xlsx]Sheet1'!$B$2:$B$2000=$A2,IF(ISNUMBER(MATCH('[Workbook A.xlsx]Sheet1'!$D$2:$D$2000,{"Apples","Oranges"},0)),'[Workbook A.xlsx]Sheet1'!$E$2:$E$2000)))

Hope this helps!
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,239
Members
452,621
Latest member
Laura_PinksBTHFT

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