FormulaCraft

How to get the end of the week for a date in Excel and Google Sheets

Excel & Google Sheets
=A2-WEEKDAY(A2,2)+7

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1Enter your dates in column A starting at A2.
  2. 2In B2 enter =A2-WEEKDAY(A2,2)+7 — this shifts any date forward to the Sunday ending that ISO week.
  3. 3To end on Friday instead, use =A2-WEEKDAY(A2,2)+5.
  4. 4Format column B as Date and copy the formula down.

Tips

Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.

Frequently asked

How do I get the Friday end of a Monday–Friday work week?

Use =A2-WEEKDAY(A2,2)+5. WEEKDAY mode 2 makes Monday=1, so adding 5 lands on Friday.

What if the date is already a Sunday?

The formula still works correctly — it returns the same Sunday because WEEKDAY(Sunday,2) = 7 and 7-7+7 = 7, keeping the date unchanged.

Formulas used

Related tasks

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: