Excel 16.0 build 20430
Windows, 64-bit, CPU not recorded
10,153 captured inputs are indexed for this environment. Capture dates: 2026-09-29 to 2026-09-29. This is a reading count, not a comparison with another build.
Date and time functions
Matches all 10,157 recorded answers
Recorded: 10,153 in the answer bank and 4 workbook cells. How we measure this · See the Rust code
| Language | Name in Excel |
|---|---|
| Arabic | ISOWEEKNUM |
| Bulgarian | ISOWEEKNUM |
| Czech | ISOWEEKNUM |
| Danish | ISOUGE.NR |
| German | ISOWEEKNUM |
| Greek | ISOWEEKNUM |
| English (Australia) | ISOWEEKNUM |
| English (United Kingdom) | ISOWEEKNUM |
| English (United States) | ISOWEEKNUM |
| Spanish | ISO.NUM.DE.SEMANA |
| Estonian | ISOWEEKNUM |
| Finnish | VIIKKO.ISO.NRO |
| French | NO.SEMAINE.ISO |
| Hebrew | ISOWEEKNUM |
| Croatian | ISOWEEKNUM |
| Hungarian | ISO.HÉT.SZÁMA |
| Indonesian | ISOWEEKNUM |
| Italian | ISOWEEKNUM |
| Japanese | ISOWEEKNUM |
| Korean | ISOWEEKNUM |
| Lithuanian | ISOWEEKNUM |
| Latvian | ISOWEEKNUM |
| Norwegian | ISOWEEKNUM |
| Dutch | ISO.WEEKNUMMER |
| Polish | ISO.NUM.TYG |
| Portuguese (Brazil) | ISOWEEKNUM |
| Portuguese (Portugal) | NUMSEMANAISO |
| Romanian | ISOWEEKNUM |
| Russian | НОМНЕДЕЛИ.ISO |
| Slovak | ISOWEEKNUM |
| Slovenian | ISOWEEKNUM |
| Serbian (Latin) | ISOWEEKNUM |
| Swedish | ISOVECKONR |
| Thai | ISOWEEKNUM |
| Turkish | ISOHAFTASAY |
| Ukrainian | ISOWEEKNUM |
| Vietnamese | ISOWEEKNUM |
| Chinese (Simplified) | ISOWEEKNUM |
| Chinese (Hong Kong) | ISOWEEKNUM |
| Chinese (Traditional) | ISOWEEKNUM |
Names from Microsoft's support site.
ISOWEEKNUM(date)
ISOWEEKNUM returns the ISO 8601 week number of the week that a date falls in.
Microsoft states the ISO rule on the WEEKNUM page, as that function's System 2: "The week containing the first Thursday of the year is the first week of the year, and is numbered as week 1. This system is the methodology specified in ISO 8601, which is commonly known as the European week numbering system."
The full ISO definition has three parts, all of which follow from that rule and are worth stating because they are what makes the function non-trivial:
Point 3 is the one that bites. ISOWEEKNUM returns a bare week number with no ISO year
attached, and Excel provides no function that returns the ISO year. A worksheet that pairs
ISOWEEKNUM(d) with YEAR(d) produces a wrong label for exactly the boundary days ISO exists to
handle — reporting "week 53 of 2021" for 1 January 2021, which no ISO calendar contains. The
correct ISO year has to be derived by hand, typically via the Thursday of the same week:
YEAR(d - WEEKDAY(d, 3) + 3).
ISOWEEKNUM(date) — one required argument, the date whose ISO week number is wanted.
There is no return_type: ISO 8601 admits no variants, which is the point of having a separate
function. Argument coercion is the ordinary scalar behaviour described in
coercion and lifting; as everywhere in this category,
Microsoft's guidance is to supply serials from DATE or another formula rather than
text.
ISOWEEKNUM is one of the newer members of the category — it does not appear in the oldest
function sets, and workbooks that must open in very old Excel versions use a WEEKNUM(d, 21) or a
hand-rolled expression instead. The Handbook's version-history data, rendered elsewhere on this
page, is the authority on exactly which release introduced it; this prose does not restate it.
Returns a Number in 1…53.
As documented for this function:
#NUM! when the argument is out of range for the current date-base value.#VALUE! when the argument is not a valid date — the ordinary coercion outcome.An error value passed in propagates.
d − isoweekday(d) + 4, with Monday = 1), take that Thursday's calendar year and its
day-of-year, and the week number is ⌈doy/7⌉. This formulation has no year-boundary special
cases at all, which is why it is the one to use.WEEKDAY and WEEKNUM, so the 1900 phase behaviour is
identical across the three by construction.Quoted from the public repository DnaCalc/DnaCalc, crates calc-func and calc-fml, at commit 9e1884369a67. Comments are the source's own. A kernel shared with other functions appears once, on its module page.
ISOWEEKNUM · 4 lines · calc-func/src/catalogue/dates.rs on GitHub18 isoweeknum_fn "ISOWEEKNUM" (1, 1) [V "date"] |s, a, sv| {
let serial = date_arg(s, a, 0)?;
out(s, k::isoweeknum(serial))
}
isoweeknum · 3 lines · calc-func/src/ported/date_kernels.rs on GitHubpub(crate) fn isoweeknum(serial: f64) -> Result<f64, W> {
iso_weeknum_serial(whole_serial(serial)?)
}
environment catalogue/datessystem catalogue/datesto_1900 catalogue/datesdate_arg catalogue/datesdays_from_civil localecivil_from_days localeymd_from_excel_serial localedays_from_civil ported/date_kernelsserial_unbounded_1900 ported/date_kernelswhole_serial ported/date_kernelsweekday_sunday_one_based ported/date_kernelsremap_weekday ported/date_kernelsweekday_of ported/date_kernelsiso_weeknum_serial ported/date_kernelsNo implementation has been published with a Handbook test suite for this function.
The recorded environments below distinguish a reading from a same-input comparison. Counts describe captured inputs in each environment; overlapping captures and comparisons are not totals of unique worksheet calls.
| Excel 16.0 build | Platform and CPU | Captured inputs |
|---|---|---|
| 20430 | Windows, 64-bit, CPU not recorded | 10,153 |
The record contains no same-input comparison between these environments. Reading different inputs on different builds does not establish either a version change or cross-build agreement.
Recorded environments and comparison details.
Windows, 64-bit, CPU not recorded
10,153 captured inputs are indexed for this environment. Capture dates: 2026-09-29 to 2026-09-29. This is a reading count, not a comparison with another build.
return_type 21 — the same definition reached through the
general function. Whether the two agree on every input is an equivalence that is widely assumed,
easy to test, and not verified here.return_type 3 — Monday-zero-based day numbering, the
natural building block for hand-rolled ISO arithmetic and for the ISO-year expression above.ISOWEEKNUM and WEEKNUM with its default return_type disagree for a large
share of January and December dates, and the difference is routinely reported as a bug in one or
the other.No named variants are recorded yet.
Suggest a correction or contribute an implementation · For agents