Thanks for your prompt reply.
1st up let me apoligise for making a mistake in the example I gave you. It
should have been
Example
=IF(C8="TEST",H8/1250,"N/A")
I am using Excel2K
Next I will give you "exactly" what I have.
The link I have in the cell is as follows:
In the cell C8 i have the following formula:
=IF('\\stlwolsvr01\Amm\19Apps\FTP\Orgfin\[paint_stocks.xls]paint_stocks'!C20="","",'\\stlwolsvr01\Amm\19Apps\FTP\Orgfin\[paint_stocks.xls]paint_stocks'!C20)
This returns a value called "BONDERITE 1310ZAL"
In the cell H8 i have the following formula:
=IF('\\stlwolsvr01\Amm\19Apps\FTP\Orgfin\[paint_stocks.xls]paint_stocks'!H8="","",'\\stlwolsvr01\Amm\19Apps\FTP\Orgfin\[paint_stocks.xls]paint_stocks'!H8)
This returns the value of 600
I have placed the following formula in cell K8
=IF(C8="BONDERITE 1310ZAL",H8/1250,"N/A")
This returns the value of "N/A"
This is despite the fact the cell C8 does in fact have BONDERITE 1310ZAL in
it and that cell H8 does in fact have 600 in it.
I hope this helps
John
JLatham said:
I don't see the problem - maybe I'm not looking at it properly.
Book2.xls, Sheet1, cell C8 has "TEST" in it.
Book1.xls, Sheet1, cell A1 has formula =[Book2]Sheet1!$C$8 and displays TEST
on same sheet in Book1, at say H49, put formula
IF(A1="TEST",H81250/1250,"N/A")
or also in Book1, any sheet, any cell you could put:
=IF([Book2]Sheet1!$C$8="TEST,H81250/1250,"N/A")
But I see a (potential) problem with the reference H81250 - unless you are
using Excel 2007, that is an invalid row - rows in pre-Excel 2007 only go to
65536. It may be that if you fix that row reference it might work better for
you. You don't say what kind of error you are getting with it as it is.
:
Hi
I have a link to another spreadsheet in a cell (C8) which returns a value
"TEST"
I want to use this value in another formula, in this case an IF statement.
Example
=IF(C8="TEST",H81250/1250,"N/A")
However i cant get the formulae to work because I suspect that even although
cell C8 returns a value of "TEST" that the formula is actually reading the
"link formula" which returns the result "TEST"
How do I get my formula to recognise the word "TEST" instead of the formula
that returns it?
Thanks in advance
John