yes / no formulas into 1/0

  • Thread starter Thread starter The snow Queen
  • Start date Start date
T

The snow Queen

Hello all i have seen that a person has asked if this can be done as a block
of three but i would like to do this on a larger scale will the formula
still fit. to count the yes's as 1.
 
Don't know what formula you are referring to, but try this:

=COUNTIF(range,"Yes")

Hope this helps.

Pete
 
G'day Pete

I could be wrong , but I think the OL' Snow Queen is possibly referring more
to a true/false.

=IF(A1="Yes",1,0)

Regards
Mark.
 
If that's true, then here's another formula:

=--(A1="yes")

A1="Yes"
returns true or false
-true or -false returns -1 or -0 (0)
and
--1 or --0 returns 1 or 0
 
Back
Top