View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default help with countif function

Try it with an IF, ie as:
=IF(COUNTIF(D49:M52,"defect raised"),1,0)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Gareth Wretham" wrote in message
ups.com...
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.