# DATE + 15 CAN NOT END ON WEEKEND OR HOLIDAY

#### RMART

##### New Member
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

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
See the Workday function (requires that analyst tool pak be installed). this does exactly what you want.

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

Replies
1
Views
307
Replies
12
Views
390
Replies
8
Views
647
Replies
10
Views
745
Replies
2
Views
127

1,217,500
Messages
6,137,008
Members
450,038
Latest member

### 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.

### Which adblocker are you using?

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

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