View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jacob Skaria Jacob Skaria is offline
external usenet poster
 
Posts: 8,520
Default If a range contains

=IF(COUNTIF(A:A,"*the word text*"),"text found","Text not found")

If this post helps click Yes
---------------
Jacob Skaria


"Caroline" wrote:

I'm trying to write a logical test that means: if (any cell in range a:a)
contains "the word text", then... I have the values part down, I only need
this logical test.
Thanks,
Caroline