Not sure why you need another column, but you could use
=IF(A1="y",1,0)
or the equivalent
=--(A1="y")
(where -- is two minuses together)
To count the number of y's:
=COUNTIF(A:A,"y")
If you're trying to count both y's and n's in the same column, use
=IF(OR(A1="y",A1="n"),1,0)
or
=IF(A1<"",1,0)
or their equivalent
=(A1="y")+(A1="n") and =--(A1<"")
To count y's and n's in the same column.
=COUNTIF(A:A,"y")+COUNTIF(A:A,"n")
In article ,
"joolz46" wrote:
HI,
I have a column with yes/no or blank answers to be reflected in another
column with a 1 for y or n and a blank for a blank answer. I then need a
total for all the 1's in the same column! Sorry if this sounds a bit
gobbledegook. its the best I can do!
|