SUMPRODUCT no results unless other file is open?

samilynn

Board Regular
Joined
Jun 24, 2003
Messages
185
Office Version
  1. 2016
Platform
  1. Windows
I am using the following formula, but it keeps giving me #VALUE! if the other worksheet is not open. If it is open however, it give me the proper results. Any suggestions on how to make this formula work when the SALES.xlsx files is not open?

=SUMPRODUCT(SUMIFS('\\SERVER-01\home\user\WORKSHEETS\[SALES.xlsx]Sheet1'!$B$2:$B$25,'\\SERVER-01\home\user\WORKSHEETS\[SALES.xlsx]Sheet1'!$A$2:$A$25,Mgr!$A$4:$A$10))

Thank you so much,
Samantha
 
The issue is not with SUMPRODUCT (which will work on closed files), but rather with your use of SUMIFS (which does not work on closed files).
Change your SUMIFS to SUMPRODUCT, and I think it should work.
 
Upvote 0
The issue is not with SUMPRODUCT (which will work on closed files), but rather with your use of SUMIFS (which does not work on closed files).
Change your SUMIFS to SUMPRODUCT, and I think it should work.
Hi Joe, thanks for the recommendation. I'm having a hard time getting it to work, I'm still getting an error message :(
Mind showing me how you would do it?
Thank you!
 
Upvote 0
I am a bit confused as to what you are doing with your SUMIFS formula, as the ranges you are using in them appear to be different sizes.
Can you show us a sample of the data you have on this sheet, and explain exactly what you are trying to return from it?
 
Upvote 0
I am a bit confused as to what you are doing with your SUMIFS formula, as the ranges you are using in them appear to be different sizes.
Can you show us a sample of the data you have on this sheet, and explain exactly what you are trying to return from it?
Hi Joe.
So Column A in [SALES.xlsx] has a list of salesreps. Column B has sales for each respective rep. Then this range Mgr!$A$4:$A$10 has a list of which reps are assigned to Team A. I am trying to get a total of the sales in Column B but only for the reps under Team A.

I hope I explained it clearly, I definitely confuse myself often. Thanks for your help!!!
 
Upvote 0
Try this:
Excel Formula:
=SUMPRODUCT(--ISNUMBER(MATCH('\\SERVER-01\home\user\WORKSHEETS\[SALES.xlsx]Sheet1'!$A$2:$A$25,Mgr!$A$4:$A$10,0)),'\\SERVER-01\home\user\WORKSHEETS\[SALES.xlsx]Sheet1'!$B$2:$B$25)
(hopefully I did not make any errors in the cut and pasting of your ranges)
 
Upvote 0
Solution
Try this:
Excel Formula:
=SUMPRODUCT(--ISNUMBER(MATCH('\\SERVER-01\home\user\WORKSHEETS\[SALES.xlsx]Sheet1'!$A$2:$A$25,Mgr!$A$4:$A$10,0)),'\\SERVER-01\home\user\WORKSHEETS\[SALES.xlsx]Sheet1'!$B$2:$B$25)
(hopefully I did not make any errors in the cut and pasting of your ranges)
It works perfect, thank you SO MUCH!!!

PS: I want to learn SUMPRODUCT better, can you recommend how to go about it? youtube....etc...thanks :) :)
 
Upvote 0

Forum statistics

Threads
1,226,835
Messages
6,193,236
Members
453,782
Latest member
ssg

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