Week 53 and the New Year trap: planning a 12-week challenge that crosses 1 January
A 12-week table from Monday 7 December 2026 shows where ISO week numbers and simple counting disagree, and how to label weeks so a spreadsheet stays correct.
A 12-week challenge that starts in early December runs straight through New Year, and that is where weekly leaderboards go wrong. One week contains both December and January, a “week 1” appears twice in the data, and a formula that groups by week number quietly merges two different weeks. This article lays out the calendar for one specific challenge so you can see the problems before they reach your sheet.
How ISO weeks work
ISO 8601 numbers weeks so that each week starts on Monday and ends on Sunday, and each week belongs to the year in which its Thursday falls. Week 1 is therefore the week with the first Thursday of the year in it. Wikipedia’s article on the ISO week date adds that Monday 30 December 2024 is the first day of week 1 of 2025, written 2025-W01-1. A date in late December can belong to the next year’s week 1, and a date in early January can belong to the old year’s last week.
Microsoft documents a spreadsheet function, ISOWEEKNUM, that returns the ISO week number of a date. Note that it returns only the number, not the ISO year. That omission is the root of the trap below.
Some years have 53 weeks. We computed which years from 2015 to 2035 do, using the fact that 28 December is always in the last ISO week of its year: 2015, 2020, 2026 and 2032. 2026 is one of them, which is why a challenge starting on Monday 7 December 2026 sees a “week 53”.
One challenge, week by week
The challenge below starts on Monday 7 December 2026 and ends on Sunday 28 February 2027. The last column is a “naive” week we defined ourselves: take the day of the year, subtract one, divide by seven, round down and add one. That is how someone might number weeks if they simply count blocks of seven days from 1 January.
| Challenge week | Monday | Sunday | ISO week | Naive week |
|---|---|---|---|---|
| 1 | 2026-12-07 | 2026-12-13 | 2026-W50 | 49 |
| 2 | 2026-12-14 | 2026-12-20 | 2026-W51 | 50 |
| 3 | 2026-12-21 | 2026-12-27 | 2026-W52 | 51 |
| 4 | 2026-12-28 | 2027-01-03 | 2026-W53 | 52 |
| 5 | 2027-01-04 | 2027-01-10 | 2027-W01 | 1 |
| 6 | 2027-01-11 | 2027-01-17 | 2027-W02 | 2 |
| 7 | 2027-01-18 | 2027-01-24 | 2027-W03 | 3 |
| 8 | 2027-01-25 | 2027-01-31 | 2027-W04 | 4 |
| 9 | 2027-02-01 | 2027-02-07 | 2027-W05 | 5 |
| 10 | 2027-02-08 | 2027-02-14 | 2027-W06 | 6 |
| 11 | 2027-02-15 | 2027-02-21 | 2027-W07 | 7 |
| 12 | 2027-02-22 | 2027-02-28 | 2027-W08 | 8 |
Where it breaks
The split week. Challenge week 4 runs from 28 December to 3 January. In ISO terms all seven days are in 2026-W53. By the naive rule, 28 to 31 December is block 52 or 53 and 1 to 3 January is block 1, so the same Monday-to-Sunday week is cut in two. Our check of the boundary dates shows 31 December 2026 as naive week 53, but 1 January 2027 as naive week 1, even though both are in ISO week 2026-W53.
The label without a year. If the sheet stores only “W01”, then data from the first week of January 2027 and the first week of January 2026 land in the same bucket. In a first-time challenge this does not happen, but any sheet reused next year will break. The date 29 December 2025 shows the reverse: it is a Monday in December, and it is ISO week 2026-W01.
Text sorting. Sorting the labels “W50, W51, W52, W53, W01, W02” as numbers puts the January weeks first. Sorting them as text with the year prefix (2026-W53, then 2027-W01) works, because the year comes first.
What we would do
- Label weeks by their Monday. “Week of 2026-12-28” cannot collide with anything and is readable by everyone. Add the challenge week number (1 to 12) as a separate column.
- If you must use ISO weeks, store the ISO year too. ISOWEEKNUM gives the number; derive the ISO year from the Thursday of the same week. We have verified the logic in Python, not in a spreadsheet.
- Say in the rules which day ends the week. A Sunday-night log can be a late entry for the old week or an early entry for the new one. How a participant’s time zone changes that is a separate question.
- Check the holiday weeks. Weeks 3 and 4 contain 25 December and 1 January in this calendar. Expect lower activity logs and decide in advance whether the week counts in full.
Limits
We checked the calendar arithmetic with Python’s own ISO calendar function, not with a spreadsheet. The “naive week” is our own simple definition, and some spreadsheet programs number weeks differently; we did not test them. The ISO week system is a convention, and many organisations use other ones.
How we calculated
The script was run in Python 3.
import datetime as dt
def iso_weeks(y): return dt.date(y, 12, 28).isocalendar()[1] # 28 Dec is always in the last ISO week
print("ISO years 2015-2035 with 53 weeks:", [y for y in range(2015, 2036) if iso_weeks(y) == 53])
start = dt.date(2026, 12, 7) # a Monday
print("start", start, start.strftime("%A"), "| end", start + dt.timedelta(days=12*7-1))
print("week | Monday | Sunday | ISO year-week | naive week (7-day blocks from 1 Jan, our own rule)")
for i in range(12):
m = start + dt.timedelta(days=7*i); s = m + dt.timedelta(days=6)
iy, iw, _ = m.isocalendar(); naive = (m.timetuple().tm_yday - 1)//7 + 1
print(f"{i+1:>2} | {m} | {s} | {iy}-W{iw:02d} | {naive}")
print("dates around the boundary:")
for d in (dt.date(2026,12,31), dt.date(2027,1,1), dt.date(2027,1,3), dt.date(2027,1,4), dt.date(2025,12,29)):
iy, iw, wd = d.isocalendar(); print(d, d.strftime("%a"), f"ISO {iy}-W{iw:02d}-{wd}", "naive", (d.timetuple().tm_yday-1)//7+1)
Output:
ISO years 2015-2035 with 53 weeks: [2015, 2020, 2026, 2032]
start 2026-12-07 Monday | end 2027-02-28
week | Monday | Sunday | ISO year-week | naive week (7-day blocks from 1 Jan, our own rule)
1 | 2026-12-07 | 2026-12-13 | 2026-W50 | 49
2 | 2026-12-14 | 2026-12-20 | 2026-W51 | 50
3 | 2026-12-21 | 2026-12-27 | 2026-W52 | 51
4 | 2026-12-28 | 2027-01-03 | 2026-W53 | 52
5 | 2027-01-04 | 2027-01-10 | 2027-W01 | 1
6 | 2027-01-11 | 2027-01-17 | 2027-W02 | 2
7 | 2027-01-18 | 2027-01-24 | 2027-W03 | 3
8 | 2027-01-25 | 2027-01-31 | 2027-W04 | 4
9 | 2027-02-01 | 2027-02-07 | 2027-W05 | 5
10 | 2027-02-08 | 2027-02-14 | 2027-W06 | 6
11 | 2027-02-15 | 2027-02-21 | 2027-W07 | 7
12 | 2027-02-22 | 2027-02-28 | 2027-W08 | 8
dates around the boundary:
2026-12-31 Thu ISO 2026-W53-4 naive 53
2027-01-01 Fri ISO 2026-W53-5 naive 1
2027-01-03 Sun ISO 2026-W53-7 naive 1
2027-01-04 Mon ISO 2027-W01-1 naive 1
2025-12-29 Mon ISO 2026-W01-1 naive 52
Sources
- Wikipedia, “ISO week date”, opened 2026-11-07: https://en.wikipedia.org/wiki/ISO_week_date
- Microsoft Support, “ISOWEEKNUM function”, opened 2026-11-07: https://support.microsoft.com/en-us/office/isoweeknum-function-1c2d0afe-d25b-4ab1-8894-8d0520e90e0e
Sources
- Wikipedia, ISO week date — accessed 2026-11-07
- Microsoft Support, ISOWEEKNUM function — accessed 2026-11-07