Week date formula

SelinaR

Board Regular
Joined
Feb 2, 2012
Messages
65
Office Version
  1. 2021
Platform
  1. Windows
  2. Mobile
  3. Web
I would like to build a 2 date formula's:
1. on picking up a current date and adding on x number of days - it only returns a week day date (not a weekend)
2. on picking up a current date and adding on x number of days - it only returns to the closest upcoming monday or tuesday date (if possible)

I can send an example if required
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
For nearest Monday.
A2=date, B2 number of days.
Excel Formula:
=WORKDAY(A2,12)+IF(WEEKDAY(WORKDAY(A2,B2),2)<4,1-WEEKDAY(WORKDAY(A2,12),2),8-WEEKDAY(WORKDAY(A2,12),2))
 
Upvote 1
Pl read formula as below.
For nearest Monday.
A2=date, B2 number of days

Excel Formula:
=WORKDAY(A2,B2)+IF(WEEKDAY(WORKDAY(A2,B2),2)<4,1-WEEKDAY(WORKDAY(A2,B2),2),8-WEEKDAY(WORKDAY(A2,Bf2),2))
 
Upvote 0

Forum statistics

Threads
1,215,073
Messages
6,122,970
Members
449,095
Latest member
Mr Hughes

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