Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
JMcBeth
 
Posts: n/a
Default Recurring Problems with Links with Full Path Names

I have two workbooks, both of which are in the same directory, one
referencing cells in the other. The dependent workbook (the one containing
the reference to the source workbook) displays a #VALUE! error. The formula
in the cell is:

=IF(Budget_Date="none",0,DSUM('N:\Corporate\Financ e\Project_Financial_Reports\1_2005_Reports\QB_Budg et.xls'!Project_Direct_Expenses,Project_ID,Revenue _Criteria))

(Note the fully qualified path.) If I remove the path name, the #ERROR! goes
away and the correct value is shown. The new formula in the cell is:

=IF(Budget_Date="none",0,DSUM(QB_Budget.xls!Projec t_Direct_Expenses,Project_ID,Revenue_Criteria))

However, every time I save the worksheets and reopen them, the filespec
reverts to the fully qualified filespec above and re-displays the #ERROR!
result.

Can someone explain what is going on? When does Excel convert to the fully
qualified filespec? I tried things such as opening the source file first,
then the dependent file, but this doesn't seem to help.

Why is the fully qualified filespec showing the #VALUE! error? Am I
exceeding some length limit? If so, what is the limit?

Thanks,

JMcBeth
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

It's because DSUM (or any D* function) does not work if the other workbook
is not open,
since you can't have the source closed you must use '[workbook_name.xls]
you can use SUMPRODUCT instead if you plane to have the source closed,
here's an example

http://tinyurl.com/56zae

you might also want to look at pivot tables

--

Regards,

Peo Sjoblom



"JMcBeth" wrote in message
...
I have two workbooks, both of which are in the same directory, one
referencing cells in the other. The dependent workbook (the one containing
the reference to the source workbook) displays a #VALUE! error. The

formula
in the cell is:


=IF(Budget_Date="none",0,DSUM('N:\Corporate\Financ e\Project_Financial_Report
s\1_2005_Reports\QB_Budget.xls'!Project_Direct_Exp enses,Project_ID,Revenue_C
riteria))

(Note the fully qualified path.) If I remove the path name, the #ERROR!

goes
away and the correct value is shown. The new formula in the cell is:


=IF(Budget_Date="none",0,DSUM(QB_Budget.xls!Projec t_Direct_Expenses,Project_
ID,Revenue_Criteria))

However, every time I save the worksheets and reopen them, the filespec
reverts to the fully qualified filespec above and re-displays the #ERROR!
result.

Can someone explain what is going on? When does Excel convert to the fully
qualified filespec? I tried things such as opening the source file first,
then the dependent file, but this doesn't seem to help.

Why is the fully qualified filespec showing the #VALUE! error? Am I
exceeding some length limit? If so, what is the limit?

Thanks,

JMcBeth



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change the Excel Title Bar to show the full file path na... lmilkey8855 Excel Discussion (Misc queries) 2 January 6th 05 03:08 PM
Problems opening Excel files using DFS links Byron Excel Discussion (Misc queries) 2 January 1st 05 11:31 PM
Change Path names in copied work book jheaney Excel Worksheet Functions 2 November 18th 04 07:29 PM
Hyperlinks Problems mkab Excel Worksheet Functions 0 November 8th 04 09:22 PM


All times are GMT +1. The time now is 04:13 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"