Originally Posted by
Cyberdude
I assume that there is no way using formulas to examine the contents of a formula (not the value) in a cell. Correct? ..
Correct.
What I would do is use 2 formulas (possibly coupled together if space is an issue). The first would be a UDF, something like this ...
Function FTEXT(f As Range)
FTEXT = f.Text
If f.HasFormula Then FTEXT = f.Formula
End Function
Which is derived from here: http://www.vbaexpress.com/kb/getarticle.php?kb_id=62
With this UDF, you can then use the standard FIND function, something like this (assuming the FTEXT() function was used in, say, B1) ..
or, if you wanted to use error handling in your formula ...
=IF(ISERR(FIND("A6",B1,1)),"Nope","Yup")
Or you could incorporate all 3 into one ...
=IF(ISERR(FIND("A6",FTEXT(A1),1)),"Nope","Yup")
Is this what you mean Cyberdude? Hope I have understood you correctly. (And there's no such thing as a stupid question!!! )