View Single Post
  #8   Report Post  
Posted to microsoft.public.excel.misc
Eric Eric is offline
external usenet poster
 
Posts: 1,670
Default How to search for text?

For fuzzy matching, the countif function is working when the source file is
open, such as
=COUNTIF('[Source.xls]sheet'!A1,"apple*")0
but, the countif function is not working when the source file is closed,
it returns #VALUE!

I have tried the function search and find, both functions are working when
the source file is closed, but it seems to me that both do not work for fuzzy
matching.
Does anyone have any suggestions?
Thank everyone very much for any suggestions
Eric

"T. Valko" wrote:

One mo

=COUNTIF(A1,"*apple*")0

NB: this type of fuzzy matching is vulnerable to false positives. For
example, the above will match candyapple or Snapple.


--
Biff
Microsoft Excel MVP


"Eric" wrote in message
...
Does anyone have any suggestions on how to search for text?
For example, Apple (93) in cell A1,
I would like to search for any text including Apple in cell A1,
It should return True in cell B1, because the text Apple is included in
cell
A1.
Does anyone have any suggestions?
Thank you very much
Eric