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

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
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,224,820
Messages
6,181,162
Members
453,021
Latest member
Justyna P

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