Solved Solved: Excel Formula Question

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

misterjw

Thread Starter
Joined
Apr 6, 2010
Messages
31
Hi,

I am working on an excel document and am having difficulty figuring out how to do something. Here is what I have:

1. 80 rows of student names.
2. Multiple columns of data for each student.
3. One of the columns is their race.
4. Another column has a "yes" or "no" response.

I want to get the count of students for each race AND who have a "yes" response.

I have played around with the Countif function and can get a count of each of the races but cannot figure out how to do both.

Thanks in advance!
 

WendyM

Retired Trusted Advisor
Joined
Jun 27, 2003
Messages
4,042
Hi misterjw. welcome to TSG.

You can do it with a sumproduct formula:

=SUMPRODUCT((A1:A80="race")*(B1:B80="yes"))

Of course you'll need to replace your ranges and the "race" to fit your spreadsheet. Hope that helps.
 

misterjw

Thread Starter
Joined
Apr 6, 2010
Messages
31
You are the best! Thanks for your help. I had played and played with various formulas but couldn't figure it out. Thanks!
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top