In Excel: use =WEEKNUM(date, 21) or =ISOWEEKNUM(date) for the ISO week number — return_type 21 gives the ISO week, while the plain default (1) starts weeks on Sunday and counts the week containing January 1 as week 1, a US convention that disagrees with European reporting.
On this page8
Syntax
Arguments
| Argument | required / optional | Description |
|---|---|---|
serial_number | required | The date whose week number you want. |
return_type | optional | Which day starts the week. 1 or omitted is Sunday, 2 is Monday, 21 is ISO. |
Related functions
2026-W25 · WEEKNUM (Sunday start): 25
Day of year: 166
Need it as an auditable file?
Ships inside the linked template — formula-driven, unlocked, audit-ready.
What this does
WEEKNUM returns which week of the year a date falls in, and the answer depends entirely on the convention. Its default counts 1 January as being in week 1 and starts weeks on Sunday, which is the US system. European and most business reporting uses ISO 8601, where weeks start on Monday and week 1 is the one containing the first Thursday — which sometimes puts early January in week 52 of the previous year. Passing 21 as the return type gives ISO, and ISOWEEKNUM does the same with no argument to forget. Mixing the two across a report is a genuine and hard-to-spot reconciliation bug. The same idea underpins a lot of everyday Excel work, so the few minutes spent getting it right here pay back across every sheet you build afterwards. Treat it as a pattern, not a one-off, and it stops being something you look up and starts being something you reach for. For “excel weeknum to date”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected cells change, and only then apply the same setup to the full sheet. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. That is what makes a calculation you can defend to a CFO or an auditor useful in real work: repeatable, auditable, and not dependent on memory or luck.
A worked example
ISO week number for European reporting: =ISOWEEKNUM(A2), or equivalently =WEEKNUM(A2, 21). The difference in action: for 1 January 2027 the US default returns week 1 while ISO returns week 53 of 2026. Grouping a sales table by ISO week: put =ISOWEEKNUM(A2) in a helper column and pivot on it. Week numbers are the classic silent reconciliation bug, because two systems can both be right and still disagree. One habit worth forming early: name the cells that hold your inputs, so the formula reads in plain language instead of a string of cell addresses. A reviewer — or you in three months — can then follow the logic without decoding what B7 and D2 were supposed to mean, which is most of what makes a sheet maintainable.
In Google Sheets
If you are in Google Sheets rather than Excel, the good news is that the formula shown here is identical and the workflow barely changes — menus sit across the top instead of in a ribbon, and a few function names differ slightly, but anything you build here moves across with little or no rework. The aim was to get you unstuck fast and leave you a little more capable than a copy-paste would. The answer is at the top, the tool proves it, and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. The short version of “excel weeknum to date”: the answer is at the top of this page, the tool proves it on your own numbers, and the sections above explain why it holds so the next variation does not stump you. Excel rewards people who reference cells instead of typing values and who keep inputs separate from formulas, because that is what makes a result you can audit months later. Build it once, deliberately, with the live tool as a check, and you convert a one-off lookup into a reusable skill — which is the whole point of learning the why and not just the what.
Common mistakes
- Using the default return type in a European report, which produces week numbers off by one against every other system.
- Assuming early January is always week 1; under ISO it can be week 52 or 53 of the previous year.
- Mixing conventions across sheets in the same workbook, which is nearly impossible to spot in a reconciliation.
Frequently asked questions
How do I get the ISO week number?
=ISOWEEKNUM(A2), or =WEEKNUM(A2, 21). Both start weeks on Monday and put week 1 where the first Thursday falls.
Why does my week number differ from another system?
Almost certainly a convention mismatch. The default is US; most business reporting uses ISO.
Can a January date be in week 52?
Yes, under ISO. If the year starts late in the week, those days belong to the previous year's final week.