
| Function category | Date and time functions |
| Volatility | Non-volatile |
| Similar functions | DAY — returns day of month MONTH — returns month number YEAR — returns year |
What does this function do?
The WEEKDAY function returns the day of the week corresponding to a date. Depending on the return type you choose, the week can start on Sunday, Monday, or another day.
For example:
- Monday → 2 (if week starts on Sunday)
- Monday → 1 (if week starts on Monday)
Syntax
=WEEKDAY(date, [return_type])
Arguments:
- date — required argument. This can be:
- reference to a cell containing a date
- result of another function, for example TODAY()
- text date (e.g., “2025-06-17”) if Excel can recognize it
- return_type — optional argument that determines which day the week starts on and what values are returned. If omitted, type 1 is used.
Return type options:
| Type | Description | Result |
|---|---|---|
| 1 | Week starts Sunday | Sunday = 1, Saturday = 7 |
| 2 | Week starts Monday | Monday = 1, Sunday = 7 |
| 3 | Week starts Monday | Monday = 0, Sunday = 6 |
| 11 | Week starts Monday | Monday = 1, Sunday = 7 |
| 12 | Week starts Tuesday | Tuesday = 1, Monday = 7 |
| 13 | Week starts Wednesday | Wednesday = 1, Tuesday = 7 |
| 14 | Week starts Thursday | Thursday = 1, Wednesday = 7 |
| 15 | Week starts Friday | Friday = 1, Thursday = 7 |
| 16 | Week starts Saturday | Saturday = 1, Friday = 7 |
| 17 | Week starts Sunday | Sunday = 1, Saturday = 7 |
Examples
| Date | Formula | Type | Result | Meaning |
|---|---|---|---|---|
| 06/17/2025 (Tuesday) | =WEEKDAY(A2) | 1 (default) | 3 | Tuesday (Sun=1, Mon=2, Tue=3) |
| 06/17/2025 | =WEEKDAY(A2,2) | 2 | 2 | Tuesday (Mon=1, Tue=2) |
| 06/17/2025 | =WEEKDAY(A2,3) | 3 | 1 | Tuesday (Mon=0, Tue=1) |
Formatting
The function returns a number from 1 to 7 (or 0 to 6 depending on return type). This numeric value can be used for sorting, filtering, or creating charts. To display the day name as text, use the TEXT function:
=TEXT(A2, "dddd")
For example, the formula above returns “Tuesday” or “Wednesday” depending on the date. It’s important to understand that the TEXT function’s argument should be the original date, not the number representing the weekday.
Practical applications
- Calculate weekend vs weekday for business operations
- Schedule weekly reports or tasks
- Filter data by specific days of the week
- Calculate due dates excluding weekends
- Analyze sales patterns by weekday
Features
- If the date argument is not a valid date, it returns an error
- Type 2 (Monday = 1) is commonly used in business and European practice
- To display the weekday as text, use the TEXT function with format “dddd” for full name or “ddd” for abbreviated name
- The function works with dates from January 1, 1900, to December 31, 9999
Other Date and Time functions in Excel
TIMEVALUE, TIME, YEAR, DATE, DATEVALUE, EDATE, DAY, YEARFRAC, EOMONTH, MONTH, MINUTE, WEEKNUM and WEEKNUM.ISO, WORKDAY, DATEDIF, TODAY, SECOND, NOW, HOUR, NETWORKDAYS
Like the article? Help its author! Buy !SEMTools, it has lots of useful instruments to process text data.
This post is also available in RU.