Thanks Max. i tried that
=IF(ISNUMBER(MATCH(A6,C:\Documents and Settings\Gillian Mason\My
Documents\[copy 2Share
Recommendations.xls]Stocks'!$B$10:$B$413,0)),"S",IF(ISNUMBER(MATCH(A6,
C:\Documents and Settings\Gillian Mason\My Documents\[copy 2Share
Recommendations.xls]Income
Securities'!$B$10:$B$413,0)),"FI",IF(ISNUMBER(MATCH(A6, C:\Documents and
Settings\Gillian Mason\My Documents\[copy 2Share Recommendations.xls]Property
& Infrastructure'!$B$10:$B$413,0)),"PI","None")))
but says there is something wrong w the path, even though i cant see what it
is. is it possible its just the position of my commas and apostrophies?
Max said:
Consistent with the points by JLatham that COUNTIF doesn't work with closed
referenced books, perhaps you could try something like this instead:
=IF(ISNUMBER(MATCH(A4,path_[book1.xls]Stocks'!$B$10:$B$413,0)),"S",IF(ISNUMBER(MATCH(A4,path_[book1.xls]Income
Securities'!$B$10:$B$413,0)),"FI",IF(ISNUMBER(MATCH(A4,path_[book1.xls]Property & Infrastructure'!$B$10:$B$413,0)),"PI","None")))
Adapt the above to suit the path & name of the referenced workbook ..
---
Micayla Bergen said:
i have this formula
=IF(COUNTIF(Path/Stocks'!$B$10:$B$413,A4),"S",IF(COUNTIF('Path/Income
securities'!$B$10:$B$413,A4),"FI",IF(COUNTIF('Path/Property &
Infrastructure'!$B$10:$B$413,A4),"PI","None")))
i want S, FI or PI to be returned depending on where the value in A4 is
found, but i get a value message.
Please help.
thank you