What you will learn
- Get the day of the week with WEEKDAY
- Decide weekend or weekday with IF and OR
How it works
=WEEKDAY(A2) gives 1 for Sunday through 7 for Saturday.
Weekends are 1 and 7: =IF(OR(B2=1,B2=7),"Weekend","School day").
Formulas at a glance
=WEEKDAY(A2) | 1 = Sunday |
=IF(OR(B2=1,B2=7),"Weekend","School day") | The pattern to follow |
Example
Write the formula to get the day number for the first date.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Date | Day number | Type | Party date | Day number | |
| 2 | 3/14/2026 | 5/1/2026 | ||||
| 3 | 3/16/2026 | 5/3/2026 | ||||
| 4 | 3/20/2026 | 5/6/2026 | ||||
| 5 | 3/22/2026 | 5/9/2026 |
Click B2 and type =WEEKDAY(A2), then press Enter.
The answer is 7.
When to use it
- Marking weekend dates
- Planning events on certain days
- Counting sales by day of the week
Common mistakes
- Thinking 1 is MondayBy default 1 is Sunday and 7 is Saturday.
- Writing B2=1 or 7Use OR(B2=1,B2=7).
- Wanting the day nameUse TEXT(A2,"dddd") for the name.
Practice it on a real sheet
Reading is a start. Doing it is how it sticks. This lesson walks you through every click on a live spreadsheet and checks each answer.