Searching for text within formula
Isabelle,
Thanks ... that works and is a lot easier to read !
I'm stuck on creating a UDF that will search a cell's formula for
specific text.
=SearchFormula(find_text,within_text) where find_text could
be a single value or a multi-valued named range.
For example. ...
If A1 contained =VLOOKUP("Two",$A:$C,3,FALSE)
and D1=One, D2=Two, D3=Three
and $D$1:$D$3 was a named range called "Numbers"
The formula would look like ...
=SearchFormula(Numbers,A1) and would return the matched value
- in this case "Two".
- Ronald K.
|