0

In my Microsoft Excel file, I have a column like this:

YES
NO
YES
YES
YES
NO
YES
YES

In a separate cell, using an equation or something, I want to count up the number of YESs in that column. How can I do this?

3

I don't think this really belongs on a programming forum.... But:

COUNTIF(<range>, "YES")

should do it.

  • this should be accepted – phuclv Jun 13 '14 at 8:51
2

You can just use this:

=COUNTIF(A:A, "YES")

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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