#ref! error using sum index match formula on closed workbook

selizat

New Member
Joined
Feb 18, 2014
Messages
2
Hi All,

I have a formula that is referrencing a closed workbook and returning #ref! error for all but two of the matches. But, the values appear when the source workbook is open. I have tried updating links etc. but to no avail :(


Following is the formula I have been using to sum a range when it matches a certain value. Any insight would be appreciated.

=SUM('[7283 Master 2013.xlsm]7283 Master'!$H$4:INDEX('[7283 Master 2013.xlsm]7283 Master'!$H$4:$BS$4,MATCH($I$2,'[7283 Master 2013.xlsm]7283 Master'!$H$2:$BS$2,0))).

When the source book is closed, it automatically populates the entire formula with the link. This is the shortened version.

Thanks,
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
I found the answer! I used a sumproduct formula instead and it works even on closed workbooks!
 
Upvote 0

Forum statistics

Threads
1,215,851
Messages
6,127,288
Members
449,373
Latest member
jesus_eca

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