Linking workbooks

Ivan B

New Member
Joined
Jul 19, 2007
Messages
3
I'm trying to link 2 workbooks with a "=SUMIF" formula and it won't find the source workbook. The path apears to be correct, both are on the same drive (shared drive) and I even tried putting both in the same subdirectory. It works if I open both, even if I minimize the source workbook. Why won't it find the workbook through the path without it being open?
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

Bill_Biggs

Well-known Member
Joined
Feb 6, 2007
Messages
1,216
Can I see your code?

Display your code. I have a lot of experience in this area. It is almost always a code issue.
 
Upvote 0

Ivan B

New Member
Joined
Jul 19, 2007
Messages
3
Thanks Bill, here it is

=SUMIF('U:\Cheese Data\[Cheese Data 2007.xls]Cheese'!$C6,$B$4,'U:\Cheese Data\[Cheese Data 2007.xls]Cheese'!K6)
 
Upvote 0

Bill_Biggs

Well-known Member
Joined
Feb 6, 2007
Messages
1,216
I was afraid of that.

Excel Spreadsheet function are limited to what data is open and available on the desktop. In order to do what you want done, you will have to either open the workbook with the data you want, or create a macro that will open the book. allowyour worksheet to grab the data it needs, and then reclose that book.
 
Upvote 0

Forum statistics

Threads
1,191,131
Messages
5,984,845
Members
439,918
Latest member
engrnoir

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
Top