View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gareth Wretham Gareth Wretham is offline
external usenet poster
 
Posts: 6
Default help with countif function

hi - I want to report a fixed value of '1' if the term 'defect raised'
appears in a range of cells, regardless of frequency.

the current formula I have is =COUNTIF(D49:M52,"defect raised")

but this reports the frequency instead of the value 1.

ie this should be a binary value - 1 if the term is present and 0 if
not.

no idea how to do this, any help appreciated.