Google Sheets function · Date
WEEKDAY in Google Sheets: syntax and examples
WEEKDAY turns a date into a number from 1 to 7, or 0 to 6 for type 3. The type argument decides which day starts the week.
Syntax
WEEKDAY(date, [type])
Arguments
| Argument | Type | Required | What it does |
|---|---|---|---|
date | date | yes | The date to check, as a date value or a DATE() result. Text dates also work when Sheets can read them. |
type | number | no | How days are numbered. 1 (default): Sunday=1 to Saturday=7. 2: Monday=1 to Sunday=7. 3: Monday=0 to Sunday=6. 11 to 17 start the week on another day. |
Examples
The examples use this table, starting in A1:
| Event |
| Release |
=WEEKDAY(DATE(2026, 11, 29))Result: 1
29 November 2026 is a Sunday, so the default type 1 returns 1.
Run in a Google Sheet (English US locale) on .
=WEEKDAY(DATE(2026, 11, 29), 2)Result: 7
The same Sunday with type 2, where Monday is 1: the result is 7.
Run in a Google Sheet (English US locale) on .
=WEEKDAY(DATE(2026, 11, 29), 3)Result: 6
Type 3 counts from 0 on Monday, so Sunday is 6.
Run in a Google Sheet (English US locale) on .
=TEXT(DATE(2026, 11, 29), "dddd")Result: Sunday
The day name instead of a number. The language follows the file locale.
Run in a Google Sheet (English US locale) on .
=IF(WEEKDAY(DATE(2026, 11, 28), 2)>5, "Weekend", "Workday")Result: Weekend
Type 2 makes the weekend test simple: 6 and 7 are Saturday and Sunday.
Run in a Google Sheet (English US locale) on .
Common errors
- The default type 1 starts on Sunday. If you expect Monday=1, write 2 as the second argument.
- type accepts only 1, 2, 3 and 11 to 17. Any other number, such as 5, returns #NUM!.
- WEEKDAY returns a number, not a name. Use TEXT(date, "dddd") for the day name.
- Type 3 starts at 0, so Monday is 0. A test like >5 behaves differently than with type 2.
Compared with Excel
Same syntax and types as Excel WEEKDAY.