Due Date

Ash3154

New Member
Joined
Dec 21, 2010
Messages
6
Hi

I need to set up a due date;
the due date is a weekday on the last day of the current month, if its a weekend (Sat, Sun, or Holiday), it will due the next weekday of the next month.

I don't want to use a macro, is there any way to do this using formula?

Thanks,
Ash
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Try:

=WORKDAY(DATE(YEAR(StartDate),MONTH(StartDate)+1,-1),1,Holidays)

Where StartDate is the date (if it's always current month you're interested you can replace the StartDate with TODAY()-function ) and Holidays is a range where all the holidays can be found.

If you're using Excel 2003 you need to make sure you have the Analysis Toolpak installed.
 
Upvote 0

Forum statistics

Threads
1,215,248
Messages
6,123,867
Members
449,130
Latest member
lolasmith

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