Date 10th of Each Month

jwbanks10

New Member
Joined
Mar 1, 2014
Messages
30
I have a spreadsheet that calculates the future due date of projects. The project is due on the 10th of each month but has to account for weekends and holidays. If a holiday (handled by the vlookup) or weekend is present is shows the previous workday.

The below formula works well, however, it only shows the due date in the current month. For example, if today is 09/11 it will say it is due 09/10 until October. I need it to say 10/10 as soon as 09/10 passes. Any ideas? Thanks!

=IFERROR(VLOOKUP(WORKDAY(EOMONTH($G$5,-1)+10+1,-1),Holidays!C:D,2,FALSE),WORKDAY(EOMONTH($G$5,-1)+10+1,-1))
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Hi jw,

Could you post an example of your spreadsheet of how you want it to look and operate, along with your holiday schedule?
 
Last edited:
Upvote 0
Of course, here you go CyrusTheVirus. It is hard to explain via chat, but hopefully my explanation makes sense. All green cells mean they are correct. The orange cells represent the issue. Based on today's date, the next due date should technically be 10/10 not 09/10 like it says. My formula above just needs tweaked a bit.



 
Last edited:
Upvote 0
Hi jw,

Try the below setup. It has a few helper cells, that way we don't have to create some mega formula. Let me know if you think this will work for you.
Excel Workbook
ABCDEF
1TimingHoursNext Update*Today's Date:9/11/2016
210th each Month210/10/2016*Next 10th:10/10/2016
310th each Month110/10/2016*Is Holiday?No
410th each Month210/10/2016*Nearest Workday10/10/2016
510th each Month510/10/2016***
6Monday0.39/12/2016***
7Monday39/12/2016***
8Monday29/12/2016***
9Wednesday29/14/2016***
Due Date


Excel Workbook
ABCD
1HolidayDescriptionDatePrior Workday
2New Year's Dayfirst of January1/1/201612/31/2015
3Presidents' Daythird Monday in February2/15/20162/12/2016
4Memorial Daylast Monday in May5/30/20165/27/2016
5Independence Dayfourth of July7/4/20167/1/2016
6Labor Dayfirst Monday in September9/5/20169/2/2016
7Thanksgivingfourth Thursday in Novemeber11/24/201611/23/2016
8Day after ThanksgivingDay after Thanksgiving11/25/201611/24/2016
9Christmastwenty fifth of December12/25/201612/23/2016
Holidays
 
Last edited:
Upvote 0
Hi jw,

Actually I prefer the below setup. I think the order is more accurate this way.

Excel Workbook
ABCDEF
1TimingHoursNext Update*Today's Date:9/13/2016
210th each Month210/10/2016*Next 10th:10/10/2016
310th each Month110/10/2016*Is Weekend?No
410th each Month210/10/2016*Nearest Workday10/10/2016
510th each Month510/10/2016*Is Holiday?No
6Monday0.39/12/2016*Official Due Date10/10/2016
7Monday39/12/2016***
8Monday29/12/2016***
9Wednesday29/14/2016***
Sheet1


Excel Workbook
ABCD
1HolidayDescriptionDatePrior Workday
2New Year's Dayfirst of January1/1/201612/31/2015
3Presidents' Daythird Monday in February2/15/20162/12/2016
4Memorial Daylast Monday in May5/30/20165/27/2016
5Independence Dayfourth of July7/4/20167/1/2016
6Labor Dayfirst Monday in September9/5/20169/2/2016
7Thanksgivingfourth Thursday in Novemeber11/24/201611/23/2016
8Day after ThanksgivingDay after Thanksgiving11/25/201611/24/2016
9Christmastwenty fifth of December12/25/201612/23/2016
Holidays
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,061
Messages
6,122,921
Members
449,094
Latest member
teemeren

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