| A | B | C | D | E | F | G | H | I | J | K | L | M | N | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Invoice date | Due | ||||||||||||
| 2 | 15/01/2024 | 45322 | ||||||||||||
| 3 | ||||||||||||||
| 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 31 January 2024
TEXT shows the same answer written out as a date.
- gives 29 February 2024
With 1 you get the end of the following month. It knows 2024 is a leap year.
- gives 16
The number of days left in the month.
Common mistakes
- Seeing a number such as 45322 and thinking it has failed. That is the date; format the cell as a date.
- Forgetting the second argument. It is required: use 0 for the same month.
- Wanting the first day of a month. Take the end of the month before and add 1.
Practise it
Days in the month →Related functions