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

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
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
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
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,214,649
Messages
6,120,733
Members
448,987
Latest member
marion_davis

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