Adding up entries in one column with conditions in two columns

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

Guest

Hello Excel(lent) users,

I want to know the following
A (Priority) B (numbers) C (week)
--------- -------------- -------------
1 12 6
2 11 6
3 14 5
1 11 4
1 11 6

How much numbers have been closed in week 6 with priority 1?
In the above example it is 12+11 =23.

How can I get this information, by using sumproduct?

Please help me !

Thanks!
 
Have a look at sumif.


Should look like =SUMIF(A1:A5,1,B1:B5)

--
John
MOS Master Instructor
Please reply & rate any replies you get

Ice Hockey rules (especially the Wightlink Raiders)
 
=sumproduct(--(c1:C10=6),--(A1:A10=1),B1:B10)

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
Sorry, misread the part about the week number
--
John
MOS Master Instructor
Please reply & rate any replies you get

Ice Hockey rules (especially the Wightlink Raiders)
 
Hello Teethless,

Perfect, this is the answer I was looking for !

Sorry John, your answer did not help me ! Thanx for the effort !
 

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