DATE + 15 CAN NOT END ON WEEKEND OR HOLIDAY

RMART

New Member
Joined
Sep 12, 2002
Messages
1
I am trying to calculate a due date that is 15 days in the future. If the 15th day is a weekend or holiday (Xmas or New Years) I need the due date to be the next available weekday.
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

IML

MrExcel MVP
Joined
Feb 15, 2002
Messages
1,743
See the Workday function (requires that analyst tool pak be installed). this does exactly what you want.
 

IML

MrExcel MVP
Joined
Feb 15, 2002
Messages
1,743
Just checking some old postings and I think I may have steered you wrong here. Workday is still your function, but I orignally had a formula such as

=WORKDAY(A1,15,myholidays)

in mind, where myholidays is a named range containing your holidays.
This will add 15 non-weekend non-holidays to your date in A1. But sounds like you want to count 15 days (weekend, holiday, or not) and just not land on a weekend or holiday.
I believe

=WORKDAY(A1+14,1,myholidays)

would get you there.

Good luck
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,505
Messages
5,832,117
Members
430,111
Latest member
Francis Xavier

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
Top