Formula to count cells between dates excluding duplicates

Giganews Newsgroups
Subject: Formula to count cells between dates excluding duplicates
Posted by:  Vegs
Date: Tue, 27 Jun 2006

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

Replies