I need a formula to show "on-time","late","advance" according to the conditions and rules below.
it is quite complicated, I need a masterhand to help
Condition : on-time delivery rule is "Order date" + 1 working day or holiday or weekend, but cannot accept order date + >1 working day , which is late, and if delivery date is earlier than order date, it is advance
Condition: saturday, sunday is not working day
For example@
assume the order date = 9 June(thu),
if delivery is on 8 June or before, it is "advance"
if delivery is on 9 June, it is "on-time"
if delivery is on 10 June, it is "on-time"
if delivery is on 11 June or afterwards, it is "late" (because order date+2 working days, even though 11 June is saturday i.e. not working day)
with additional assumption:
assume 10 June (Fri) is holiday
If delivery is before 14 June (i.e. delivery on 9,10,11,12 June), it is still "on-time" (because it meets order date+1 working day or holiday or weekend)
If delivery is on 14 June or afterwards, it is "late"
assuming i allocate the cells to record the holidays at E1:E10.
what formula can meet the above conditions and rules?
headache....
then the delivery on 11 and 12 June is still ok, treat it as on-time.
it is quite complicated, I need a masterhand to help
Condition : on-time delivery rule is "Order date" + 1 working day or holiday or weekend, but cannot accept order date + >1 working day , which is late, and if delivery date is earlier than order date, it is advance
Condition: saturday, sunday is not working day
For example@
assume the order date = 9 June(thu),
if delivery is on 8 June or before, it is "advance"
if delivery is on 9 June, it is "on-time"
if delivery is on 10 June, it is "on-time"
if delivery is on 11 June or afterwards, it is "late" (because order date+2 working days, even though 11 June is saturday i.e. not working day)
with additional assumption:
assume 10 June (Fri) is holiday
If delivery is before 14 June (i.e. delivery on 9,10,11,12 June), it is still "on-time" (because it meets order date+1 working day or holiday or weekend)
If delivery is on 14 June or afterwards, it is "late"
assuming i allocate the cells to record the holidays at E1:E10.
what formula can meet the above conditions and rules?
headache....
then the delivery on 11 and 12 June is still ok, treat it as on-time.