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

scratch that!
i got it...or i should say YOU got it!
thanks,
dan

"Ron Coderre" wrote:

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