FormulaCamp
Completed
← Google Sheets functions
Google Sheets function

WEEKDAY in Google Sheets

WEEKDAY with worked examples you can test in the live grid. The argument details are in the Excel guide.

In Google Sheets

The arguments and common errors are covered in the WEEKDAY Excel guide; check the function help in Google Sheets for its own argument list.

Worked examples in Google Sheets

Default numbering

A
1Date
23/9/2024

Formula: C2: =WEEKDAY(A2)

Result: 7

March 9, 2024 was a Saturday, which is 7 when Sunday is 1.

Monday-first numbering

A
1Date
23/9/2024

Formula: C2: =WEEKDAY(A2,2)

Result: 6

With type 2, Monday is 1, so Saturday is 6.

Weekend flag

A
1Date
23/9/2024

Formula: C2: =IF(WEEKDAY(A2,2)>5,"Weekend","Weekday")

Result: Weekend

With Monday-first numbering, anything above 5 is Saturday or Sunday.

Try it

A tiny spreadsheet with example data. Edit the formula or any number and see the result.

Formula in F2: =WEEKDAY(A2,2)

Example spreadsheet for WEEKDAY
ABCDEF
1StartEndHolidayTimeResult
23/15/20266/20/20265/1/202614:457
31/31/20262/28/20265/9/202609:30
412/24/20251/9/2026
Result in F2: 7
Practice this in a lesson: Tenure, Deadlines, Weekdays

Google Sheets is used here only as a descriptive product name. FormulaCamp is not affiliated with Google.