SUMIF - External Workbooks

splash

Board Regular
Joined
Oct 12, 2004
Messages
74
Just a quick question, folks.

I have a SUMIFformula, the two arguments (range and sumrange) being two different columns on the same workbook, on a different network drive to my spreadsheet (saved on C).

When I have the external spreadsheet open, the results appear no problem, but whenever I close the external book (on the network) the return value is #VALUE!

Is it impossible to SUMIF from external workbooks?

My formula:

S:\Test_Network\2009\P12_Dec\[MILAN_7247.xls]RAR1_Wk4'!$A$1:$A$100,"Test Cristeria",S:\Test_Network\2009\P12_Dec\[MILAN_7247.xls]RAR1_Wk4'!$B$1:$B$100


Thanks in advance.
Splash.
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
switch to SUMPRODUCT, like

Code:
=SUMPRODUCT(([B]S:\Test_Network\2009\P12_Dec\[MILAN_7247.xls]RAR1_Wk4'!$A$1:$A$100="Test Cristeria"),S:\Test_Network\2009\P12_Dec\[MILAN_7247.xls]RAR1_Wk4'!$B$1:$B$100)[/B]
[B]
[/B]
 
Upvote 0
SUMIF doesn't work with a closed workbook, try SUMPRODUCT

=SUMPRODUCT((S:\Test_Network\2009\P12_Dec\[MILAN_7247.xls]RAR1_Wk4'!$A$1:$A$100="Test Cristeria")*(S:\Test_Network\2009\P12_Dec\[MILAN_7247.xls]RAR1_Wk4'!$B$1:$B$100))
 
Upvote 0
Here's my new formula:
=SUMPRODUCT(([BR_P7W5.xls]WRS1_Wk5!$A:$A="3663EI")*[BR_P7W5.xls]WRS1_Wk5!I:I)

Now it's returning a #NUM! message rather than a true value.

Any ideas?

Thanks a lot
 
Upvote 0
you can't use whole column reference in SUMPRODUCT,

try

Code:
=SUMPRODUCT(--([BR_P7W5.xls]WRS1_Wk5!$A1:$A65535="3663EI"),[BR_P7W5.xls]WRS1_Wk5!I1:I65535)
 
Upvote 0

Forum statistics

Threads
1,216,458
Messages
6,130,757
Members
449,588
Latest member
accountant606

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