Hi Experts,
I have the strangest problem in Excel. I have two workbooks on our network file server. One is called "SR ship data.xls" (AKA the ship sheet) and the other is called "SR Master Sheet.xls" (AKA the master sheet). They both contain macros and they are both protected such that users can only modify certain values.
Anyway, here is the problem: Certain cells in the master sheet are linked to data in the ship sheet with references such as the following:
=IF('T:\TrafficSheets\arch
ives\20080
709 backup\TEMPTEST\[SR ship data.xls]Sheet1'!$I8="", $D$1, 'T:\TrafficSheets\archives
\20080709 backup\TEMPTEST\[SR ship data.xls]Sheet1'!$I8)
The problem is, if cell I8 in the ship sheet has the word "MAP", then the corresponding cell in the master sheet displays "#N/A". The error information says this is a "Value Not Available Error".
On the other hand, all other cells on the master sheet (i.e, all cells which reference a cell on the ship sheet that does not have the value MAP) all display the correct value. For example, if cell I8 in the ship sheet has the word HELLO, then the cell in the master sheet which references it displays the word HELLO.
Note that this error only occurs when the ship sheet is not open on the same PC. (In fact, it does not make sense that a user would want to or need to have both sheets open.)
In testing, I simplified the formula to eliminate the "if" conditional, and so now if the formula is
='T:\TrafficSheets\archive
s\20080709
backup\TEMPTEST\[SR ship data.xls]Sheet1'!$I8
and the value of that cell is "MAP" then I get the #N/A error displayed in the master sheet, if the ship sheet is not open on the same PC.
Testing further, I found that if I type MAP (thats MAP followed by a blank space) into a cell on the ship sheet, the master sheet displays the correct value MAP (with a trailing blank) in the corresponding cell. (FYI this is my temporary workaround to the problem.)
This tells me that the problem is not the conditional, and it is not the fact that the ship sheet is not open on the same PC, but it is due to the fact that the value of the cell referenced on the ship sheet = MAP.
Can anyone tell me why I would get such an error whenever I reference a cell with the value MAP? Is it some sort of function or reserved word? Is there a way to resolve this issue?
Thanks in advance for any input,
Guy
Start Free Trial