WEEKDAY Function in Excel: Day of the Week as a Number

⏱ 1 min readUpdated 28 September 2026

Date & TimeLevel: BeginnerAvailable in: Excel 2007+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. Example 2
  5. Related functions

WEEKDAY returns a number for the day of the week. Type 2 makes Monday = 1 … Sunday = 7, the easiest for weekend checks.

Syntax

=WEEKDAY(serial_number, [return_type])
Argument What it means
return_type 1 (default) Sun=1; 2 Mon=1; 3 Mon=0.

Examples

Example 1

=WEEKDAY(A2, 2)>5

TRUE for Saturday or Sunday.

Example 2

=A2-WEEKDAY(A2, 3)

The Monday of that week.

TEXT · NETWORKDAYS · WEEKNUM

📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.

✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free · AI can be wrong