Formula for date output

HRspec2021

New Member
Joined
Jun 21, 2021
Messages
5
Office Version
  1. 365
Platform
  1. Windows
How do I find a formula that will output a certain date based on the date of the cell next to it? I want a formula that will give me a date that is either Monday of the same week of the date in the next cell, or Monday of the next week, depending on the day of the week which the date falls. For example, L7 is 7/20/21. I want a formula in M7 to put out 7/19/21 because 7/20/21 falls on a Tuesday. Also, L8 is 7/22/21. Because our cutoff is Wednesday (anything after Wednesday goes to the next week), I want M8 to put out 7/26/21. I hope this makes sense.
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Hi & welcome to MrExcel.
How about
Excel Formula:
=WORKDAY.INTL(L7-2,1,"0111111")
 
Upvote 0
Solution
Try this with the reference date in A1 (adjust to suit).
Excel Formula:
=WORKDAY.INTL(A1-3,1,"0111111")
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,956
Messages
6,122,465
Members
449,085
Latest member
ExcelError

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