How do I use WEEKDAY in Excel?
Use WEEKDAY when you want to return the weekday number. Enter Date cell, Return type in that order, then add optional arguments when needed.
Returns day-of-week number.
WEEKDAY(serial_number, [return_type])serial_number
RequiredEnter a date/reference-related value.
return_type
OptionalWeekday numbering system: 1/omitted = Sunday 1 to Saturday 7, 2 = Monday 1 to Sunday 7, 3 = Monday 0 to Sunday 6, 11-17 = Monday-to-Sunday start variants.
Use WEEKDAY to return the result with these settings (Date cell: B2 (cell B2 (Start Date in column B)), Return type: 2 (Monday = 1)).
| # | ATask ID | BStart Date | CEnd Date | DNotes | EHoliday |
|---|---|---|---|---|---|
| 2 | T001 | 2026/03/01 | 2026/03/05 | Standard task | 2026/03/03 |
| 3 | T002 | 2026/03/03 | 2026/03/10 | Priority task | 2026/03/06 |
| 4 | T003 | 2026/03/05 | 2026/03/12 | Standard task | 2026/03/10 |
| 5 | T004 | 2026/03/08 | 2026/03/14 | Urgent task | 2026/03/12 |
| 6 | |||||
| 7 | |||||
| 8 |
How to Use (Formula)
=WEEKDAY(B2, 2)Result
7
Use WEEKDAY when you want to return the weekday number. Enter Date cell, Return type in that order, then add optional arguments when needed.
Use the "Start Function Practice" button to jump straight into WEEKDAY drills.
The main arguments are Date cell, Return type. Start with the required ones, then add optional arguments if needed.