Formula to calculate due dates and round down to nearest working day

sph0ng

New Member
Joined
Feb 14, 2019
Messages
2
Hi all,

Novice excel user here, I'm trying to calculate 2 things in a single cell:

1. due dates 3 months from start date which was pretty simple: =DATE(YEAR(B15),MONTH(B15)+3,DAY(B15))

2. and if the due date lands on weekends/holidays, to round down to nearest working date. If date is on a holiday in the middle of the week, then due date would be the working day before.

Sat/Sun => due date would be the Fri before

I can't seem to figure out #2 . I tried to add =workday function, but that always seems to break the formula. Any help would be appreciated.
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Try:
Excel Workbook
ABCDE
1Start DateDue DateHolidays
21/19/20194/18/20194/19/2019
32/15/20195/15/20195/27/2019
42/18/20195/17/2019
52/27/20195/24/2019
Sheet
 
Upvote 0
You're welcome. Thanks for the feedback and welcome to the forum.
 
Upvote 0

Forum statistics

Threads
1,223,896
Messages
6,175,263
Members
452,627
Latest member
KitkatToby

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