View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
aac aac is offline
external usenet poster
 
Posts: 10
Default sumproduct with criterias

Iv got the following code:

=SUMPRODUCT(--($A$10:$A$5000=Sheet2!P$3),--($A$10:$A$5000<=Sheet2!R$3),--($B$10:$B$5000=MAIN!B5002),$D$10:$D$5000)

P3 is date from
R3 is date to
col A is date
col B is name
col D is hours
That gives me a breakdown of hours for both clients.

I need to further brake the hours down to find out what hours the clients
used under 20 hours and over as well.

--
aac