# WEEKDAY in Google Sheets: syntax and examples

URL: https://goingstellar.ro/reference/sheets/weekday/

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

- `date` (date, required: yes): The date to check, as a date value or a DATE() result. Text dates also work when Sheets can read them.
- `type` (number, required: 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 2026-11-29.

```
=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 2026-11-29.

```
=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 2026-11-29.

```
=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 2026-11-29.

```
=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 2026-11-29.

## 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.

## Related functions

- [WEEKNUM](https://goingstellar.ro/reference/sheets/weeknum/)
- [DAY](https://goingstellar.ro/reference/sheets/day/)
- [DATE](https://goingstellar.ro/reference/sheets/date/)
- [TEXT](https://goingstellar.ro/reference/sheets/text/)
- [WORKDAY](https://goingstellar.ro/reference/sheets/workday/)
- [NETWORKDAYS](https://goingstellar.ro/reference/sheets/networkdays/)

## Sources

- [WEEKDAY (Docs Editors Help)](https://support.google.com/docs/answer/3092985)

