sumif with more than 1 criteria

A

Andrew@rushington

i have a table with months in column B and names in column a and % scores in
column c. i want to create a formula that states if column B="nov" and column
A = "Bill" then total column c for those rows. actuly i want an average score
for bill for the month but i think i need to do that as a sepearate formula
once i have the total.
name date score
bill nov 98%
tony nov 95%
Bill Nov 85%
Bill dec 85%
 
P

Pete_UK

Try this to sum them:

=SUMPRODUCT((A1:A10="Bill")*(B1:B10="Nov")*(C1:C10))

and this to count them:

=SUMPRODUCT((A1:A10="Bill")*(B1:B10="Nov"))

so that you can get your average.

Hope this helps.

Pete
 
A

Andrew@rushington

thanks i will give that a go

Pete_UK said:
Try this to sum them:

=SUMPRODUCT((A1:A10="Bill")*(B1:B10="Nov")*(C1:C10))

and this to count them:

=SUMPRODUCT((A1:A10="Bill")*(B1:B10="Nov"))

so that you can get your average.

Hope this helps.

Pete
 
A

Andrew@rushington

i have tried that but returns a #Value, is this because some of the cells in
range are empty?
 
S

Stephen

No. It's probably because one or more of the cells in the last range
(C1:C10) contains text rather than a numerical percentage..
 

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