I am stuck at adding a date range criteria for the following. Lets say >=5/1/19, <6/1/19 where I can count only those where the shipped status within the date range. It does not matter when the "Finishing" status happened.
I'm trying to wind up with a count of 3. Where the same co # has finishing and shipped status and the status for those 3 is within the date range.
=SUMPRODUCT((MMULT(COUNTIFS(D4:D17,D4:D17,E4:E17,{"Finishing","Shipped"}),{1;1})=2)/COUNTIF(D4:D17,D4:D17))
C D E
Date CO Status
1/1/19
1/2/19 125 Finishing
2/1/19 126 Finishing
2/2/19 127 Finishing
3/1/19 128 Finishing
3/2/19 128 Shipped
5/1/19 125 Shipped
5/13/19 126 Shipped
5/20/19 127 Shipped
Bookmarks