How to identify the date of the next consecutive Saturday when working with a range of dates.

jnaeve

New Member
Joined
Sep 18, 2019
Messages
2
Hello,
I'm building a workbook to help me find the date of the next available Saturday within a range of dates.

[TABLE="width: 500"]
<tbody>[TR]
[TD]Start Date[/TD]
[TD]End Date[/TD]
[TD]Next Saturday[/TD]
[/TR]
[TR]
[TD]14-Oct[/TD]
[TD]23-Oct[/TD]
[TD]26-Oct[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

What sort of formula can I use to determine the date of the following Saturday after the "End Date"?
This is on a Mac.
Thanks!
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
If your End Date will never be a Saturday or, if it is and you want that date as the "next" Saturday, you can use this formula...

=B1-WEEKDAY(B1)+7

If your End Date could be a Saturday and, for that condition, you wanted the following Saturday, then you could use this formula...

=IF(WEEKDAY(B1)=7, B1+7,B1-WEEKDAY(B1)+7)
 
Upvote 0
Thank you Rick, the second formula actually hit the nail on the head. The first one resulted in the previous Saturday in some instances, but all my scenarios worked well for me with the second one.

The actual formula that I'm using is:
=IF(WEEKDAY(WORKDAY([Start Date],[Duration],[Holidays]))=7,(WORKDAY([Start Date],[Duration],[Holidays]))+7,(WORKDAY([Start Date],[Duration],[Holidays]))-WEEKDAY(WORKDAY([Start Date],[Duration],[Holidays]))+7) == In essence, we have a task that starts on [Start Date] that has a [Duration] and using the [Holidays] range, we remove dates that we can't work and with your formula, we're able to find the date of the following Saturday, after completing the task, that is the most likely target date for our next action.

Thanks again Rick! Very much appreciated!!



If your End Date will never be a Saturday or, if it is and you want that date as the "next" Saturday, you can use this formula...

=B1-WEEKDAY(B1)+7

If your End Date could be a Saturday and, for that condition, you wanted the following Saturday, then you could use this formula...

=IF(WEEKDAY(B1)=7, B1+7,B1-WEEKDAY(B1)+7)
 
Upvote 0

Forum statistics

Threads
1,223,897
Messages
6,175,270
Members
452,628
Latest member
dd2

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