View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Harry C. Harry C. is offline
external usenet poster
 
Posts: 1
Default Search / Find Function

I would like Excel to count all my NY customers; e.g., Search("NY",B2) if
the state code NY is found in a lengthy text field containing a name,
address, comma separators, etc.

The search works fine if NY is in the searched cell, but returns #Value if
not. I can't perform any logical function on the result if it returns #Value.
How do I get around that?

Thank you.