Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, and Excel in Office 365. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Calculating Weekend Dates.

Calculating Weekend Dates

by Allen Wyatt
(last updated April 23, 2019)

Reuben needs to know, for any given date, when the next weekend is. For his purposes, weekends begin on Saturday, so this basically means coming up with a way to "round up" a date (Sunday through Friday) to the next Saturday.

There are any number of ways that you can calculate the date of the next Saturday. This is made possible because dates are stored internally by Excel as numbers, and numbers can be easily manipulated. Perhaps the easiest way to calculate the next Saturday is this formula:

```=A1+7-WEEKDAY(A1)
```

You can also use a very simple application of the CEILING function, as shown here:

```=CEILING(A1,7)
```

Remember that when you use a formulaic approach, Excel may not automatically format the result to look like a date. That's easy enough to fix; just apply the cell formatting you want.

These two formulas will return the date of the next Saturday, unless the date in A1 is already a Saturday. If you want a starting date of Saturday to return the date of the following Saturday, then this formula will work just fine:

```= IF(WEEKDAY(A1)=7,7,7-WEEKDAY(A1))+A1
```

An alternate formula (that doesn't use the IF statement) to calculate the next Saturday if the starting date in A1 is already a Saturday is:

```=(A1+7+1)-WEEKDAY(A1+1)
```

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (9305) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and Excel in Office 365. You can find a version of this tip for the older menu interface of Excel here: Calculating Weekend Dates.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Talking to Yourself

Need to keep notes about a document, but you don't want others to see those notes either on-screen or on-paper? Here's an ...

Discover More

Formatting Endnote Reference Marks

The reference marks used for endnotes are, by default, formatted "good enough" for most people. If you are one of those ...

Discover More

Cross-referencing to an Automatic Number

Word allows you to add automatic numbering to different elements of your document, such as to headings. If you want to ...

Discover More

Excel Smarts for Beginners! Featuring the friendly and trusted For Dummies style, this popular guide shows beginners how to get up and running with Excel while also helping more experienced users get comfortable with the newest features. Check out Excel 2013 For Dummies today!

More ExcelTips (ribbon)

Month for the Nth Sunday

Doing math with dates is quite easy in Excel. As this tip illustrates, this fact makes it easy to figure out the Nth ...

Discover More

Changing How Excel Determines which Year to Use

When you enter a date into a cell and you omit the year, Excel helpfully adds the current year to the date. If you want ...

Discover More

Pushing Dates Into Last Month

Excel is great when it comes to working with dates and times. You can even do math on dates. One such easy manipulation ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. Youâ€™ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is seven minus 2?

2018-03-08 10:25:52

Gary

@Willy
I recognize I could have combined the "7+1" and removed the parenthesis, but left as I did to show the "+1" added to the 2 'parts' of the formula:
1) the calculation of the next weeks date;
2) subtracting the day of week

I like my formulas to provide some structure to indicate the intent and operation for understanding when I revisit them ... sometimes years later.

Nice work with the CEILING function, I did not review it because I rarely use CEILING.

2018-03-08 07:43:18

Willy Vanhaelen

Here is an even shorter version:
=CEILING(A1+1,7)
does the same job as this tip's
=IF(WEEKDAY(A1)=7,7,7-WEEKDAY(A1))+A1

2018-03-08 06:21:52

Willy Vanhaelen

@Gary
Very clever but you can even shorten it with 4 characters. Replace (B2+7+1) with B2+8 (no need for the brackets):

=B2+8-WEEKDAY(B2+1)

2018-03-07 12:35:36

Gary

An alternate formula (without using the IF statement) to calculate the next Saturday is
=(B2+7+1)-WEEKDAY(B2+1)
This works for all days, with no Saturday checking required.
It is based on the first presented formula but 'skips' past the WEEKDAY 7 to 0 'boundary' condition that causes the problem.

This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."