COUNTIFS #VALUE error because workbook is not open. How can I fix this?

jelle1100

New Member
Joined
Nov 12, 2015
Messages
7
=COUNTIFS('\\aweta\user\profile\jooms\Desktop\[Sofon-sheet.xlsm]New'!$M$2:$M$93356;$C$1;'\\aweta\user\profile\jooms\Desktop\[Sofon-sheet.xlsm]New'!$P$2:$P$93356;">="&$D$2;'\\aweta\user\profile\jooms\Desktop\[Sofon-sheet.xlsm]New'!$P$2:$P$93356;"<="&$E$2)

When I open my main sheet (called "2016") I can choose to update, not update or cancel. I then choose to update and the value error appears. When I open "Sofon-sheet" everything is good and there are no more value errors.

How can I make sure that this error doesn't happen again?
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Maybe my problem is a bit more difficult than it seems.
I have about 50 different sheets on different pc's all called "2016". Every "2016" sheet has this formula:
=COUNTIFS('\\aweta\user\profile\jooms\Desktop\[Sofon-sheet.xlsm]New'!$M$2:$M$93356;$C$1;'\\aweta\user\profile\jooms\Desktop\[Sofon-sheet.xlsm]New'!$P$2:$P$93356;">="&$D$2;'\\aweta\user\profile\jooms\Desktop\[Sofon-sheet.xlsm]New'!$P$2:$P$93356;"<="&$E$2)

The Sofon-sheet has to be on a permanent directory so that every "2016" sheet can call on this information. It is impossible to have the Sofon-sheets always open, or at least, I don't know how to.
Some articles say SUMPRODUCT works, because it can look in closed workbooks. Can I do something similar? I need this connection, but it cannot stay open.
thank you
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,771
Members
452,353
Latest member
strainu

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