Dear All,
We dispatch material via courier from our DC based on the orders received from the customers through internet. The DC operates from Monday to Saturday(Sunday being weekly off). Courier company also picks up material from our DC only from Monday to Saturday(Sunday being weekly off).
Apart from weekly off on Sunday, there are certain HOLIDAYs for both DC & courier company when the dispatch is not made.
There is a cut off time for the order processing for a particular day. If the customer has placed the order on or before 16PM then the dispatch will be made on the same day or else it will be dispatched on the next working day.
I am looking for a formula which can forecast the proposed pick-up date from the DC based on the following conditions:-
1)Formula to check whether the order is within the cut-off-time or not.
2)Formula to first check the list of weekly Offs(SUNNDAYS).
3)Formula then to check the HOLIDAY list of DC & HOLIDAY list of courier company.
Post checking the above conditions the formula needs to forecast a PICK-UP date accordingly.
I am providing a sample data with the desired result.
Would be of great help if somebody helps out with a solution.
We dispatch material via courier from our DC based on the orders received from the customers through internet. The DC operates from Monday to Saturday(Sunday being weekly off). Courier company also picks up material from our DC only from Monday to Saturday(Sunday being weekly off).
Apart from weekly off on Sunday, there are certain HOLIDAYs for both DC & courier company when the dispatch is not made.
There is a cut off time for the order processing for a particular day. If the customer has placed the order on or before 16PM then the dispatch will be made on the same day or else it will be dispatched on the next working day.
I am looking for a formula which can forecast the proposed pick-up date from the DC based on the following conditions:-
1)Formula to check whether the order is within the cut-off-time or not.
2)Formula to first check the list of weekly Offs(SUNNDAYS).
3)Formula then to check the HOLIDAY list of DC & HOLIDAY list of courier company.
Post checking the above conditions the formula needs to forecast a PICK-UP date accordingly.
I am providing a sample data with the desired result.
Would be of great help if somebody helps out with a solution.
Excel Workbook | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | |||
1 | Customer Order Date | Customer Order Time | Proposed Dispatch Date(Desired Result) | Remarks | List Of Weekly Offs(Both DC & Courier) | DC Holidays | Courier Holidays | |||
2 | 4-Apr | 14:20 | 4-Apr | Order time is before the Cut-Off Time of 16PM and hence the dispatch will be done on 4th April. | 1-Apr | 6-Apr | 6-Apr | |||
3 | 5-Apr | 13:35 | 7-Apr | 6th April is DC HOLIDAY & hence the dispatch date is 7th April. | 8-Apr | 14-Apr | 13-Apr | |||
4 | 7-Apr | 12:10 | 9-Apr | 8th April is SUNDAY & hence the dispatch is on 9th April. | 15-Apr | 16-Apr | ||||
5 | 12-Apr | 11:40 | 17-Apr | 13th/14th/16th is HOLIDAY & 15th is SUNDAY & hence the dispatch is on 17th April. | 22-Apr | |||||
6 | 15-Apr | 22:50 | 17-Apr | 15th is SUNDAY & 16th is HOLIDAY & hence the dispatch will be on 17th April. | 29-Apr | |||||
7 | 20-Apr | 20:40 | 21-Apr | Order time is after the Cut-Off Time of 16PM and hence the dispatch will be done on 21st April. | ||||||
8 | 21-Apr | 23:15 | 23-Apr | Order time is after the Cut-Off Time of 16PM & 22nd April is SUNDAY and hence the dispatch will be done on 23rd April. | ||||||
Sheet3 |