ETA Round Date Excluding Weekends

RD1982

New Member
Joined
Nov 10, 2022
Messages
39
Office Version
  1. 365
Platform
  1. Windows
Hi Gurus,

Could you please help to build a workday and/or other formula for the below table?

Formula Location: Correct STO ETA column which I calculate the ASN Creation Date + PDT by rounding up if falls on weekends
ETA Difference status = if Correct STO ETA column is equal to ASN Delivery Date Column

Problem: The column called "Correct STO ETA" will need to round date ONLY if falls on Saturday, Sunday and or Public Holidays. First line is an example of what should be showing but I get only 20/05 which is Saturday.

Thanks in advance!


ASN Creation DateASN Delivery DatePDTCorrect STO ETAETA Difference
19/05/202322/05/2023122/05/20230
19/05/202322/05/2023120/05/2023-2
19/05/202322/05/2023120/05/2023-2
19/05/202322/05/2023120/05/2023-2
19/05/202322/05/2023120/05/2023-2
19/05/202322/05/2023120/05/2023-2
 
Hi @bebo021999 , @Fluff and @Phuoc - Could you please help with the below? This will cover the above message template which I think was a bit confused. Thanks.

1688106293662.png

Expected PGI DatePGI DatePGI Status
27/06/202327/06/2023On Time
27/06/202327/06/2023On Time
27/06/20230/01/1900Late
27/06/202327/06/2023On Time
27/06/202327/06/2023On Time
27/06/202327/06/2023On Time
27/06/202327/06/2023On Time
27/06/202327/06/2023On Time
27/06/202327/06/2023On Time
27/06/202327/06/2023On Time
27/06/202327/06/2023On Time
27/06/202328/06/2023Late
27/06/202328/06/2023Late
27/06/202326/06/2023Expedited
27/06/202326/06/2023Expedited
27/06/202326/06/2023Expedited
27/06/202326/06/2023Expedited
3/07/20230/01/1900On Time
1688106414347.png
 
Upvote 0

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
As this is now a totally different question, it needs a new thread. Thanks
 
Upvote 0

Forum statistics

Threads
1,215,410
Messages
6,124,749
Members
449,186
Latest member
HBryant

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top