Counting the As and Bs

R

Renegade

I need a formula that will add up the number of votes received by each
candidate. Committee members will designate their vote by rating the
candidate with either an A or B, and I want to be able to apply a formula
that will provide the total of As or Bs each candidate has received. Any
assistance that can be provided will be greatly appreciated.

Thanks.
 
M

Mike H

Hi,

=SUMPRODUCT((A1:A20="Candidate")*(B1:B20="A"))

In practice it's best to use a cell reference for the name and vote

=SUMPRODUCT((A1:A20=C1)*(B1:B20=B1))

Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top