View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips Bob Phillips is offline
external usenet poster
 
Posts: 1,726
Default Adding up entries in one column with conditions in two columns

=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)



"The Fool on the Hill" wrote in
message ...
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!