The WEEKDAY() function returns a number for the day of the week corresponding to the date provided. The day is given as an integer, ranging from 1 (Sunday) to 7 (Saturday), by default. This function does NOT return the name of the day of the week directly.

In this post:
  1. Syntax
Required knowledge:
See full list of functions for:

1. Syntax

=WEEKDAY(serial_number, [return_type])

serial_number representing a date (in other words, a valid date)

return_type determines the type of the number returned

Return_typeNumber returned
1 or omittedNumbers 1 (Sunday) through 7 (Saturday). Behaves like previous versions of Microsoft Excel.
2Numbers 1 (Monday) through 7 (Sunday).
3Numbers 0 (Monday) through 6 (Sunday).
11Numbers 1 (Monday) through 7 (Sunday).
12Numbers 1 (Tuesday) through 7 (Monday).
13Numbers 1 (Wednesday) through 7 (Tuesday).
14Numbers 1 (Thursday) through 7 (Wednesday).
15Numbers 1 (Friday) through 7 (Thursday).
16Numbers 1 (Saturday) through 7 (Friday).
17Numbers 1 (Sunday) through 7 (Saturday).

References:

  1. Microsoft (no date) Microsoft Support. Available at: https://support.microsoft.com/en-us/office/weekday-function-60e44483-2ed1-439f-8bd0-e404c190949a (Accessed: 15 July 2023).

By MisterFoxOnline

Mister Fox AKA @MisterFoxOnline is an ICT, IT and CAT Teacher. He has a passion for technology and loves to find solutions to problems using the skills he has learned in the course of his IT career.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.