A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

#VALUE ! errorr for links to other workbook



 
 
Thread Tools Display Modes
  #1  
Old January 15th, 2005, 10:15 AM
Janez Banez
external usenet poster
 
Posts: n/a
Default #VALUE ! errorr for links to other workbook

In one cell of my first workbook I have a link to the
cells of the other workbook. If the second workbook is
open, then the link formula is

=AVERAGE(OFFSET([Secondfile.xls]Sheet2!$A$2,MATCH(MAX
([Secondfile.xls]Sheet2!$A:$A),[Secondfile.xls]Sheet2!
$A:$A,0)-6,15,5,1))

and the calculated value is displayed in the first
workbook. Such value remain also after I close the second
workbook, only the formula changes in the part of the
address of the second file:

[Secondfile.xls]Sheet2! - 'C:\[Secondfile.xls]Sheet2'!

But if the second workbook is closed nad I close and
reopen the first workbook or if I chose " Edit -
Links... - Update Values" combination, then I get the
#VALUE! error in the cell of the first workbook.

I tried to change the posible parameters on "Edit Links"
form, I tried also all the combination of these options
with all of the combinations of "Tools - Option -
Calculation - Update remote references" options but with
no cuccess. Did I miss anything? Is there any connection
with my medium macro security?

Thanks in advance

Janez
  #2  
Old January 15th, 2005, 11:42 AM
Arvi Laanemets
external usenet poster
 
Posts: n/a
Default

Hi

Some functions don't accept links to closed workbooks as arguments - OFFSET
is one of them.

Mirror Sheet2 from Secondfile.xls into sepearte (hidden) sheet, using links
like
A1=IF('C:\My Documents\[Secondfile.xls]Sheet2'!A1="","",'C:\My
Documents\[Secondfile.xls]Sheet2'!A1)
and use this mirror sheet as source for AVERAGE.


Arvi Laanemets


"Janez Banez" wrote in message
...
In one cell of my first workbook I have a link to the
cells of the other workbook. If the second workbook is
open, then the link formula is

=AVERAGE(OFFSET([Secondfile.xls]Sheet2!$A$2,MATCH(MAX
([Secondfile.xls]Sheet2!$A:$A),[Secondfile.xls]Sheet2!
$A:$A,0)-6,15,5,1))

and the calculated value is displayed in the first
workbook. Such value remain also after I close the second
workbook, only the formula changes in the part of the
address of the second file:

[Secondfile.xls]Sheet2! - 'C:\[Secondfile.xls]Sheet2'!

But if the second workbook is closed nad I close and
reopen the first workbook or if I chose " Edit -
Links... - Update Values" combination, then I get the
#VALUE! error in the cell of the first workbook.

I tried to change the posible parameters on "Edit Links"
form, I tried also all the combination of these options
with all of the combinations of "Tools - Option -
Calculation - Update remote references" options but with
no cuccess. Did I miss anything? Is there any connection
with my medium macro security?

Thanks in advance

Janez



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New blank workbook (Author info, colour scheme) Vinod General Discussion 1 September 24th, 2004 02:30 AM
Personal Macro Workbook closed SLynn General Discussion 2 July 12th, 2004 03:19 PM
Saved Workbook and the Whole workbook is now Protected Beth New Users 1 June 16th, 2004 03:27 PM
Can you make a workbook run like a program? Kurt Worksheet Functions 5 February 13th, 2004 02:19 PM
Excel Gurus = want a macro in 1 workbook to get info from another workbook = Read please harry Worksheet Functions 1 December 20th, 2003 01:32 AM


All times are GMT +1. The time now is 09:27 AM.


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