Conditional Counting

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a large spreadsheet and need to know how I can count the instances of
the number "2" in one column only when the corresponding value in a different
column is "medium". Can someone help with this?
 
Try something like this example:

With
A1:A100 containing sizes: large, medium, small, etc
C1:C100 containing values: 1,2,5, 100, whatever

Then...this formula counts the combinations of Medium/2

D1: =SUMPRODUCT(--(A1:A100="medium"),--(C1:C100=2))

Does that help?
***********
Regards,
Ron

XL2002, WinXP
 

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

Back
Top