Month 13 is January of the next year — DATE does the calendar arithmetic for you.
Invoices for each billing month fall due on the first day of the following month. In C2:C6 give the due date from the year and month in A and B.
Solve it on your own to keep the bonus. Each hint gets one step closer to the formula.
The same formula in the other shapes it takes at work.
Create dates from year, month, and day components.
Month 13 is January of the next year — DATE does the calendar arithmetic for you.
Cut the year, month and day out of a text code and rebuild a real date.
This is the grid you start with. Cell references in the task — B6, C2 — point at the row numbers and column letters below.
| A | B | C | |
|---|---|---|---|
| 1 | Year | Month | Due date |
| 2 | 2024 | 3 | |
| 3 | 2024 | 11 | |
| 4 | 2024 | 12 | |
| 5 | 2025 | 1 | |
| 6 | 2025 | 6 |
Handling December by hand needs an IF and a year change. DATE accepts out-of-range months and days and normalises them, so B2+1 just works, and the same trick gives the day before (day 0) or a month back (month 0).