I am trying to count distinct vehicle numbers in a fleet schedule that have come in for Maintenance between certain dates.
I have used the formula below to count the number of distinct vehicles:
=SUMPRODUCT(IF((Order_Date<=$O$4)*(Order_Date>=$E$4), 1/COUNTIFS(Order_Date, "<="&O4, Order_Date, ">="&E4, Fleet, Fleet), 0))
How do I add he job type in the formula?
I have used the formula below to count the number of distinct vehicles:
=SUMPRODUCT(IF((Order_Date<=$O$4)*(Order_Date>=$E$4), 1/COUNTIFS(Order_Date, "<="&O4, Order_Date, ">="&E4, Fleet, Fleet), 0))
How do I add he job type in the formula?