| A | B | C | D | E | F | G | H | I | J | K | L | M | N | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Date | Day number | ||||||||||||
| 2 | 15/01/2024 | 1 | ||||||||||||
| 3 | 20/01/2024 | |||||||||||||
| 4 | ||||||||||||||
| 5 | ||||||||||||||
| 6 | ||||||||||||||
| 7 | ||||||||||||||
| 8 | ||||||||||||||
| 9 | ||||||||||||||
| 10 | ||||||||||||||
| 11 | ||||||||||||||
| 12 | ||||||||||||||
| 13 | ||||||||||||||
| 14 | ||||||||||||||
| 15 | ||||||||||||||
| 16 | ||||||||||||||
| 17 | ||||||||||||||
| 18 | ||||||||||||||
| 19 | ||||||||||||||
| 20 | ||||||||||||||
| 21 | ||||||||||||||
| 22 | ||||||||||||||
| 23 | ||||||||||||||
| 24 | ||||||||||||||
| 25 | ||||||||||||||
| 26 | ||||||||||||||
| 27 | ||||||||||||||
| 28 | ||||||||||||||
| 29 | ||||||||||||||
| 30 |
More to try
Each of these works on the sheet. Press one to put it in B2.
- gives 6
The second date falls later in the week.
- gives Weekend
Numbers above 5 are Saturday and Sunday.
- gives Monday
For the day's name rather than its number, use TEXT.
Common mistakes
- Leaving out the second argument. Then Sunday is 1 and Saturday is 7, which catches people out.
- Expecting a name. WEEKDAY returns a number; TEXT with "dddd" returns the name.
- A date stored as text gives a #VALUE! error.
Practise it
Weekday or weekend →Related functions