ExcelReady
CourseMock testsFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before day one. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Mock tests
  • Function guides
  • Blog

Test prep

  • Excel level test
  • Excel test practice
  • Free screening quiz
  • Certificate

Company

  • About
  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Comparisons
  3. WEEKNUM vs ISOWEEKNUM: Which Week Number Should You Use?

WEEKNUM vs ISOWEEKNUM: Which Week Number Should You Use?

By ExcelReady Team·Updated November 2, 2026·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+
  1. WEEKNUM vs ISOWEEKNUM at a glance
  2. How WEEKNUM works
  3. How ISOWEEKNUM works
  4. The same dates with both functions
  5. When to use WEEKNUM
  6. When to use ISOWEEKNUM
  7. Common mistakes with week numbers
  8. Our recommendation
  9. Practise it

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.

FeatureWEEKNUMISOWEEKNUM
Syntax=WEEKNUM(date, [return_type])=ISOWEEKNUM(date)
Week starts onSunday by default; Monday with return type 2Always Monday
Week 1 isThe week containing 1 JanuaryThe week containing the first Thursday
First and last weeksCan be 1 to 7 days longAlways 7 days
Highest week number53, or 54 in rare years52 or 53
Can a date belong to another year's week?No (except with return type 21)Yes, around New Year
StandardCommon in the US and many calendarsISO 8601, common in Europe and international business
Excel versionsAll versionsExcel 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.

Excel formula
=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 typeWeek starts on
1 or omittedSunday
2 or 11Monday
12 to 16Tuesday to Saturday
17Sunday
21Monday, 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:

  1. Weeks always run Monday to Sunday.
  2. Week 1 is the week that contains the first Thursday of the year. (That's the same as the week containing 4 January.)
Excel formula
=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:

DateDay=WEEKNUM(A2)=WEEKNUM(A2,2)=ISOWEEKNUM(A2)
29 Dec 2025Mon53531 (of 2026)
1 Jan 2026Thu111
4 Jan 2026Sun211
5 Jan 2026Mon222
15 Mar 2026Sun121111
31 Dec 2026Thu535353
1 Jan 2027Fri1153 (of 2026)
3 Jan 2027Sun2153 (of 2026)
4 Jan 2027Mon221

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:

Excel formula
=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:

Excel formula
=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.

fx
ABCD
1
Date
Thursday of week
ISO week
2
46388
46387
3
46020
46023
4
46096
46093
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

LessonRenewals and month-ends: EDATE, EOMONTH, WEEKDAYShift dates by whole months with EDATE, jump to month-end with EOMONTH, and find the day of the week with WEEKDAY.LessonHow Excel stores dates: DATE, YEAR, MONTH, DAYLearn why every date is secretly a number, then build dates with DATE and take them apart with YEAR, MONTH and DAY.

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.

Sources

  • WEEKDAY function - Microsoft Support
  • DATE function - Microsoft Support
  • YEAR function - Microsoft Support

Written and checked by the ExcelReady Team. First published November 2, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. WEEKNUM vs ISOWEEKNUM at a glance
  2. How WEEKNUM works
  3. How ISOWEEKNUM works
  4. The same dates with both functions
  5. When to use WEEKNUM
  6. When to use ISOWEEKNUM
  7. Common mistakes with week numbers
  8. Our recommendation
  9. Practise it

Keep reading

Conditional math· 6 min read

How to Sum by Week in Excel

List the first day of each week, then use SUMIFS with two date conditions: =SUMIFS(B:B,A:A,">="&D2,A:A,"<"&D2+7). It adds every amount dated on or after the week start in D2 and before the next week starts. To find the Monday of any date, use =A2-WEEKDAY(A2,2)+1. A pivot table grouped by 7 days also works.

Dates· 6 min read

WEEKDAY in Excel: Find Weekends and Day Names

The Excel WEEKDAY function returns the day of the week as a number: =WEEKDAY(date) gives 1 for Sunday through 7 for Saturday. Add a return type of 2, as in =WEEKDAY(date,2), to make Monday 1 and Sunday 7. Then =WEEKDAY(date,2)>5 is TRUE only for Saturdays and Sundays.

Comparisons· 7 min read

NETWORKDAYS vs WORKDAY in Excel

NETWORKDAYS answers "how many working days between these two dates?" and returns a number. WORKDAY answers "which date is N working days from this one?" and returns a date. Both skip Saturdays, Sundays and an optional holiday list. NETWORKDAYS counts the start and end days; WORKDAY does not count the start day.

More on comparisons

  • Workbook vs Worksheet in Excel: What's the Difference
  • XLOOKUP vs FILTER: One Match or All Matches?
  • XLS vs XLSX: What's the Difference Between Excel Formats?
  • XLSX vs XLSM vs XLS: Excel File Types Explained
  • Accounting vs Currency Format in Excel
  • & vs CONCATENATE in Excel: Which Joins Text Better
All comparisons articles →

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback, right in your browser. Nothing to download.

Start learning for free