WEEKDAY function in Excel
Converts a serial number to a day of the week
=WEEKDAY(serial_number, [return_type])WEEKDAY syntax and parameters
Two arguments, one required.
- serial_numbernumberRequired
A sequential number that represents the date of the day you are trying to find. Dates should be entered by using the DATE function, or as results of other formulas or functions. For example, use DATE(2008,5,23) for the 23rd day of May, 2008. Problems can occur if dates are entered as text.
- return_typenumberOptional
A number that determines the type of return value.
WEEKDAY examples
Formulas you'll actually reuse.
The day of the week as 1–7 with Sunday = 1 — 14 Aug 2026 is a Friday:
=WEEKDAY(B2)Result
6Is it a weekend? Type 2 makes Monday 1, so 6 and 7 are Sat/Sun:
=WEEKDAY(B2, 2) > 5Result
FALSE
WEEKDAY in Google Sheets
Same name — your formula ports as-is.
Try WEEKDAY in the playground
Edit the example — nothing to install.
Preloaded with the WEEKDAY formula from Example 1 — change anything and watch it respond.
Related functions
More ways Excel gets this done.
- DATEReturns the serial number of a particular dateDateGoogle Sheets
- DATEDIFCalculates the number of days, months, or years between two dates. This function is useful in formulas where you need to calculate an age.DateGoogle Sheets
- DATEVALUEConverts a date in the form of text to a serial numberDateGoogle Sheets
- DAYConverts a serial number to a day of the monthDateGoogle Sheets
- DAYSReturns the number of days between two datesDateGoogle Sheets
- DAYS360Calculates the number of days between two dates based on a 360-day yearDateGoogle Sheets