WEEKNUM vs ISOWEEKNUM: Which Week Number Should You Use?
By ExcelReady TeamUpdated 8 min read
The short answer
WEEKNUM starts week 1 on 1 January, so the first and last weeks of a year can be short. ISOWEEKNUM follows the ISO 8601 standard: weeks run Monday to Sunday, and week 1 holds the year's first Thursday, so every week has seven days. Use ISOWEEKNUM for weekly reports, and WEEKNUM when your calendar starts week 1 on 1 January.
Key takeaways
- WEEKNUM counts the week containing 1 January as week 1; weeks start on Sunday unless you set a return type such as 2 for Monday.
- ISOWEEKNUM always uses Monday weeks, and week 1 is the week that contains the first Thursday of the year.
- The two agree for most of the year but often differ from late December to early January.
- An ISO week can belong to the previous or next year. Get that year with =YEAR(A2-WEEKDAY(A2,2)+4).
- WEEKNUM(A2,21) gives the same result as ISOWEEKNUM(A2).
On this page+
The short answer to WEEKNUM vs ISOWEEKNUM: both turn a date into a week number, but they disagree on where week 1 starts. WEEKNUM starts it on 1 January, while ISOWEEKNUM follows the international ISO 8601 standard, where every week runs Monday to Sunday and week 1 holds the year's first Thursday. This guide shows both on the same dates, explains the New Year traps, and tells you which to use for weekly reports.
WEEKNUM vs ISOWEEKNUM at a glance#
For most dates the two give the same number. The differences show up at the start and end of the year.
| Feature | WEEKNUM | ISOWEEKNUM |
|---|---|---|
| Syntax | =WEEKNUM(date, [return_type]) | =ISOWEEKNUM(date) |
| Week starts on | Sunday by default; Monday with return type 2 | Always Monday |
| Week 1 is | The week containing 1 January | The week containing the first Thursday |
| First and last weeks | Can be 1 to 7 days long | Always 7 days |
| Highest week number | 53, or 54 in rare years | 52 or 53 |
| Can a date belong to another year's week? | No (except with return type 21) | Yes, around New Year |
| Standard | Common in the US and many calendars | ISO 8601, common in Europe and international business |
| Excel versions | All versions | Excel 2013 and later; use WEEKNUM(date,21) in Excel 2010 |
How WEEKNUM works#
WEEKNUM counts weeks from 1 January. Whatever day 1 January falls on, that partial week is week 1, and week 2 begins on the next week-start day.
=WEEKNUM(A2)
=WEEKNUM(A2,2)The first counts weeks that start on Sunday, and the second counts weeks that start on Monday. The optional return type sets the first day of the week:
| Return type | Week starts on |
|---|---|
| 1 or omitted | Sunday |
| 2 or 11 | Monday |
| 12 to 16 | Tuesday to Saturday |
| 17 | Sunday |
| 21 | Monday, using the ISO system (same as ISOWEEKNUM) |
Because week 1 always starts on 1 January, it can be very short. In 2027, 1 January is a Friday, so with =WEEKNUM(A2,2) week 1 is only Friday 1 to Sunday 3 January. December can end with a short week too. In a leap year that starts on Saturday, such as 2028, Sunday 31 December is alone in week 54 with the default return type.
How ISOWEEKNUM works#
ISOWEEKNUM follows ISO 8601, the international standard for dates. It has only one argument and two rules:
- Weeks always run Monday to Sunday.
- Week 1 is the week that contains the first Thursday of the year. (That's the same as the week containing 4 January.)
=ISOWEEKNUM(A2)Every ISO week has exactly seven days, and a year has 52 or 53 of them. The catch is that the first and last few days of a calendar year can belong to the other year's week. If 1 January falls on a Friday, Saturday or Sunday, those days are still in the last week of the previous year. If it falls on a Tuesday, Wednesday or Thursday, ISO week 1 starts a few days before, in December.
The same dates with both functions#
Here is what each function returns for dates around New Year 2026 and 2027:
| Date | Day | =WEEKNUM(A2) | =WEEKNUM(A2,2) | =ISOWEEKNUM(A2) |
|---|---|---|---|---|
| 29 Dec 2025 | Mon | 53 | 53 | 1 (of 2026) |
| 1 Jan 2026 | Thu | 1 | 1 | 1 |
| 4 Jan 2026 | Sun | 2 | 1 | 1 |
| 5 Jan 2026 | Mon | 2 | 2 | 2 |
| 15 Mar 2026 | Sun | 12 | 11 | 11 |
| 31 Dec 2026 | Thu | 53 | 53 | 53 |
| 1 Jan 2027 | Fri | 1 | 1 | 53 (of 2026) |
| 3 Jan 2027 | Sun | 2 | 1 | 53 (of 2026) |
| 4 Jan 2027 | Mon | 2 | 2 | 1 |
Three things stand out:
- Sunday vs Monday. On Sundays such as 4 January 2026, the default WEEKNUM has already moved to the next week, while Monday-based systems haven't.
- Late December. Monday 29 December 2025 is week 53 for WEEKNUM but week 1 of 2026 for ISO.
- Early January. Friday 1 January 2027 is week 1 for WEEKNUM but week 53 of 2026 for ISO.
The ISO year trap#
Because an ISO week can belong to another year, =YEAR(A2)&"-W"&ISOWEEKNUM(A2) labels 1 January 2027 as 2027-W53, a week that doesn't exist. Use the ISO year instead, which is the year of that week's Thursday:
=YEAR(A2-WEEKDAY(A2,2)+4)WEEKDAY(A2,2) numbers Monday as 1, so A2-WEEKDAY(A2,2)+4 is always the Thursday of A2's week. For 1 January 2027 that Thursday is 31 December 2026, so the ISO year is 2026. A safe label is:
=YEAR(A2-WEEKDAY(A2,2)+4)&"-W"&TEXT(ISOWEEKNUM(A2),"00")This returns 2026-W53. The Thursday trick also explains ISOWEEKNUM itself: the ISO week number is simply which week of its year that Thursday falls in, which is the formula in the exercise on this page. The WEEKDAY guide explains the return types it relies on.
When to use WEEKNUM#
WEEKNUM is the right choice when your organisation's weeks are tied to the calendar year:
- Your calendar says week 1 starts on 1 January. Many US calendars and planners work this way.
- You need Sunday-start weeks. ISOWEEKNUM can't start weeks on Sunday;
=WEEKNUM(A2)can. - Every week must stay inside one calendar year. WEEKNUM never assigns a date to another year's week, so
=YEAR(A2)is always the right year label. - Your company uses a custom week start, such as Saturday for retail. Return types 11 to 17 cover every day.
Accept that the first and last weeks can be short, and say so in your report so a 3-day week 1 isn't compared with full weeks.
When to use ISOWEEKNUM#
ISOWEEKNUM is the better choice when weeks must be comparable:
- Weekly reports and trends. Every ISO week has seven days, so week 1 vs week 2 is a fair comparison.
- International teams and suppliers. ISO week numbers are widely used in Europe and in planning, logistics and manufacturing, so "week 14" means the same thing to everyone.
- Year-over-year comparisons. ISO week 10 always starts on a Monday and always has seven days, in every year.
When you group data this way, also group by the ISO year, not the calendar year. Otherwise the last days of December and the first days of January end up in the wrong totals. The guide to summing by week shows how to total a column by week, and suggests week-start dates as an alternative to numbers.
Common mistakes with week numbers#
Most week number errors come from mixing systems:
- Mixing WEEKNUM and ISOWEEKNUM in one report. Team A says week 1, team B says week 53, for the same day. Agree on one system.
- Forgetting the return type.
=WEEKNUM(A2)uses Sunday weeks. If your weeks start on Monday, write=WEEKNUM(A2,2). - Labelling ISO weeks with YEAR(A2). Use the ISO year,
=YEAR(A2-WEEKDAY(A2,2)+4), for dates near New Year. - Text dates. Both functions return #VALUE! for dates stored as text. Convert them with DATEVALUE first.
- Week numbers across several years. Week 10 of 2025 and week 10 of 2026 both show 10. Include the year in the label or group by week-start date.
- Using a week number when a date is clearer. A week-start date like
=A2-WEEKDAY(A2,2)+1(Monday of the week) never repeats and sorts correctly. For month-based periods, EDATE vs EOMONTH covers the equivalent tools.
If your weekly numbers depend on working days rather than calendar weeks, see NETWORKDAYS vs WORKDAY.
Our recommendation#
Use ISOWEEKNUM for weekly reporting unless you have a reason not to. Its weeks are always seven days and always start on Monday, so weekly numbers are comparable within and across years, and it matches the standard many international teams use. Pair it with the ISO year formula for labels.
Use WEEKNUM when your organisation defines week 1 as the week of 1 January, when you need weeks that start on Sunday or another day, or when every date must stay in its own calendar year. In that case, set the return type explicitly so nobody has to guess. Whichever you pick, write the rule in a note on the sheet.
Practise it#
Try the exercise on this page: rebuild an ISO week number from the Thursday of the week and see why 1 January 2027 is in week 53. Then practise WEEKDAY, EDATE and EOMONTH in a live spreadsheet, and if date maths still feels odd, learn how Excel stores dates as numbers. Each formula is checked instantly as you type.
Try it yourself
This is a live spreadsheet. Type the formula in the green cell and press Enter.
Rebuild the ISO week number without ISOWEEKNUM. B2 already holds the Thursday of the date's week. In C2, count which week of its year that Thursday falls in: =INT((B2-DATE(YEAR(B2),1,1))/7)+1, then press Enter.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | ISO week | |||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 | ||||
| 6 | ||||
| 7 |
Tip: The Thursday of Friday 1 January 2027's week is 31 December 2026. It is 364 days after 1 January 2026, and INT(364/7)+1 is 53, so the date is in ISO week 53 of 2026.
Practise this in a lesson
Frequently asked questions
What is the difference between WEEKNUM and ISOWEEKNUM?
WEEKNUM treats the week containing 1 January as week 1. ISOWEEKNUM uses the ISO standard: Monday weeks, with week 1 being the week that contains the first Thursday of the year. Around New Year they can return different numbers for the same date.
Why does WEEKNUM return 53 or 54?
Because WEEKNUM starts a new week 1 on 1 January, the last few days of December often fall in a 53rd week. In a leap year that starts on a Saturday, such as 2028, the Sunday-start system even reaches week 54 on 31 December.
Is WEEKNUM(date,21) the same as ISOWEEKNUM?
Yes. Return type 21 makes WEEKNUM follow the ISO 8601 system, so =WEEKNUM(A2,21) and =ISOWEEKNUM(A2) return the same number for every date.
Which Excel versions have ISOWEEKNUM?
ISOWEEKNUM is available in Excel 2013 and later, including Microsoft 365 and Excel for Mac. In Excel 2010, use =WEEKNUM(A2,21) instead.
Can ISO week 1 start in December?
Yes. If 1 January falls on a Tuesday, Wednesday or Thursday, ISO week 1 starts on the Monday before, in late December. For example, Monday 29 December 2025 is in ISO week 1 of 2026.