View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre Ron Coderre is offline
external usenet poster
 
Posts: 2,118
Default bunch of "yes" or "no" entered in row, output 1 if a single ye

Actually, the formula I posted returns TRUE or FALSE....

This one returns 1 or 0:
=--(COUNTIF(1:1,"yes")0)

***********
Regards,
Ron

XL2002, WinXP


"Ron Coderre" wrote:

Try something like this:

=COUNTIF(1:1,"yes")0

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"dan2201" wrote:

I have a bunch of yes and no's (sometimes only no's or yes's) entered in row,
I want to check the row and output 1 if there's a single yes in the row