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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
#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
|
|||
|
|||
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 | |
|
|
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 |