Excel: Finding the Date of the First or Last Day of the WeekLast reviewed: November 30, 1994Article ID: Q83101 |
The information in this article applies to:
SUMMARYIn Microsoft Excel, you can use the following formulas to return the date of the first or last day of the week.
MORE INFORMATIONTo find the date of the Sunday of the week containing a given date, use the following formula:
=The_Date-WEEKDAY(The_Date)+1You can modify the above formulas to find the date of any preceding or following day of the week by replacing the number 1 in the formula with a number corresponding to the day of the week you wish to find (2 for Monday, 3 for Tuesday, and so on).
REFERENCES"Microsoft Excel Function Reference," for Windows, version 3.0, 251-252
|
KBCategory: kbusage
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |