1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Solved Solved: Excel Formula Question

Discussion in 'Business Applications' started by misterjw, Apr 6, 2010.

Thread Status:
Not open for further replies.
  1. misterjw

    misterjw Thread Starter

    Joined:
    Apr 6, 2010
    Messages:
    25
    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!
     
  2. WendyM

    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.
     
  3. misterjw

    misterjw Thread Starter

    Joined:
    Apr 6, 2010
    Messages:
    25
    You are the best! Thanks for your help. I had played and played with various formulas but couldn't figure it out. Thanks!
     
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 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/915243

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice