New: ready-to-use spreadsheet templatesExplore the collection  →
Home/Formulas/WEEKDAY
DATE & TIME · GOOGLE SHEETS

WEEKDAY
return a number representing the weekday of a date.

Use WEEKDAY to identify the weekday with Monday as 1. This guide shows the exact structure, a working example and the mistakes most likely to break it.

JosephineVerified by JosephineReviewed July 25, 2026
THE FORMULA=WEEKDAY(date, [type])
A

datedate to inspect

B

typenumbering system

TRY IT YOURSELF

Change the sheet.
Watch the answer update.

Edit any highlighted cell below. The example recalculates immediately.

LIVE PLAYGROUND=WEEKDAY(A2,2)
fx=WEEKDAY(A2,2)
A · STARTB · END / DAYS
2
3
4
5
RESULTWednesdayUpdates live

Try changing a value above. This example runs entirely in your browser.

IN PLAIN ENGLISH

How the formula
thinks.

  1. 01

    datedate to inspect

  2. 02

    typenumbering system

COMMON FIXES

When WEEKDAY
doesn’t behave.

WRONG RESULT

Wrong result

Check that every range starts and ends on the same rows, and that numbers are stored as numbers.

FORMULA PARSE ERROR

Formula parse error

Check commas, quotation marks and closing parentheses. Your locale may use semicolons instead of commas.

UNEXPECTED BLANKS

Unexpected blanks

Test the source cells for hidden spaces, empty strings and inconsistent data types.

fxNeed help with WEEKDAY?Fix my formula →