View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Vegs
 
Posts: n/a
Default Formula to count cells between dates excluding duplicates

I need this formula to exclude duplicate S/N which are enterd in C33:C2006
for the part "A5055"

=SUMPRODUCT(--($A$33:$A$2006=$C$5-CHOOSE(WEEKDAY($C$5),0,1,2,3,4,5,6)),--($A$33:$A$2006<$C$5-CHOOSE(WEEKDAY($C$5),0,1,2,3,4,5,6)+7),--($B$33:$B$2006="A5055")