Due date cannot be a weekend

tati69angel

New Member
Joined
Aug 6, 2010
Messages
5
Hello:

I'm sorry at how silly this question may sound to most of you but I am racking my brain try to figure this out. I am creating a formula that will calculate due dates from a specific start/end date. For example:

If the item was received on August 1, 2010, this task needs to be completed by within ten days. However, the tenth day cannot be a weekend. If if is, then the task should be completed the Friday before.

IE: Initial Assigment received June 24, 2010 (A4)
Acknowledgment letter must be sent within 10 days

=A4+10 results are Sunday July 4, 2010. I need it to say July 2, 2010

By the same token, I also need to be able to subtract to the nearest weekday. For example if the start date of a project is November 1, 2010, certain tasks must be completed 15 days before. But this date cannot be a weekend, it must be the Friday before the weekend day it falls on.

IE: Project Start Date is 11/1/10 (C4)
Letters must be sent 15 days before start date.
=C4-15 results are Sunday October 17, 2010.
I need the results to return Friday, October 15, 2010

:confused:

Any help would be greatly appreciated.

Thanks again.
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Untested...

={rslt}-max(0,weekday({rslt},2)-5)
where {rslt} is the resulting date without the weekend adjustment.
 
Upvote 0
Thanks for the response. Would I begin by inserting =A4+10 and then add your formula?

ie: =A4+10={rslt}-max(0,weekday({rslt},2)-5
 
Upvote 0

Forum statistics

Threads
1,213,497
Messages
6,113,998
Members
448,541
Latest member
iparraguirre89

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