Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have an excel file with a few columns. The columns have yes/no answers. I would like to know the function to count all yes and no answers.

Thanks for helping an excel rookie.

share|improve this question
add comment

1 Answer 1

Use COUNTIF.

So if you have a column C with values 1 through 5 as follows:

1 - Yes
2 - No
3 - Yes
4 - No
5 - Yes

Formula would read:

=COUNTIF(C1:C5,"Yes")

This would output a result of 3.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.