formulastreak

Dates function

ISOWEEKNUM function in Google Sheets and Excel

ISOWEEKNUM returns the ISO 8601 week number of a date: weeks start on Monday and week 1 holds the year's first Thursday.

Checked against Microsoft's and Google's documentation on · Example calculated on a live sheet

Syntax

ISOWEEKNUM(date)

Arguments in [brackets] are optional. Google Sheets writes it ISOWEEKNUM(date).

Example

=ISOWEEKNUM(D2) reads: Return the ISO week number of the due date in D2.

Website relaunch plan · edit F2 and watch it recalculate
Click a cell (or use the arrow keys) to insert its address · Enter shows the resultF2 = 10
ABCDEFGH
1TaskOwnerStartDueHoursDue weekHolidays
2Kickoff workshopMara2 Mar 20264 Mar 20266103 Apr 2026
3Content auditJonas5 Mar 202620 Mar 2026246 Apr 2026
4WireframesPriya16 Mar 20262 Apr 2026401 May 2026
5Visual designElif30 Mar 202617 Apr 202656
6CopywritingTomás1 Apr 202624 Apr 202632
7BuildKenji13 Apr 202615 May 2026120
8TestingSofia11 May 202622 May 202630
9LaunchLeo26 May 202627 May 20268

F2 shows 10: 4 March 2026 falls in ISO week 10.

How the spreadsheet calculates it

The ISO week number of a date. Here it's given D2.

  1. 1. ISOWEEKNUM: The ISO week number of a date. Here it's given D2.
    • date = `D2`: the date to number

More ISOWEEKNUM examples

  • =ISOWEEKNUM(D2)The due date's ISO week: 10 for 4 March 2026.
  • =ISOWEEKNUM(DATE(2027,1,1))53: New Year's Day 2027 is still in the last ISO week of 2026.
  • ="W"&TEXT(ISOWEEKNUM(D2),"00")A two-digit week label like W10.
  • =SUMPRODUCT((ISOWEEKNUM(D2:D9)=10)*E2:E9)The hours of tasks due in ISO week 10.

Paste any of these into the formula explainer to see it step by step.

Tips

  • Use it in a helper column, then group or total by that column.
  • Check the first and last days of the year in your data: that's where ISO weeks surprise people.
  • Format the result as a number, not a date.

What ISOWEEKNUM is used for

Weekly sales and production reports, shift and sprint planning by week number, and matching dates to the week numbers used in European business calendars.

Arguments

ArgumentRequiredWhat it is
dateYesThe date to number.Watch out: Text the app can't read as a date gives #VALUE!.

Common mistakes

  • Mixing WEEKNUM and ISOWEEKNUM in one report: around New Year they disagree.

  • Expecting week 1 to start on 1 January: under ISO rules, 1 January 2027 is in week 53 of 2026.

  • Labelling weeks with the calendar year: around New Year a date can belong to the previous or next ISO year, so a label like 2026-W53 needs care in the first days of January.

In Google Sheets

Google Sheets has ISOWEEKNUM with the same single argument, and both apps follow the ISO 8601 rule, so week numbers match between them.

Errors you may see with ISOWEEKNUM

  • #VALUE!: The date is text the app can't read as a date.
  • #NUM!: The date isn't a valid date number, such as a negative number.

Questions

What's the difference between WEEKNUM and ISOWEEKNUM?

WEEKNUM starts week 1 on 1 January; ISOWEEKNUM starts week 1 on the Monday of the week with the year's first Thursday. They agree most of the year and disagree around New Year: for 1 January 2027, ISOWEEKNUM gives 53 and WEEKNUM(date,2) gives 1.

Which week number should I use?

ISO weeks if your company or country reports in them (common in Europe); WEEKNUM if your calendar simply starts counting on 1 January. Pick one per report.

How do I sum by week number?

Add a helper column with ISOWEEKNUM(D2) and use SUMIFS on it, or compare inside SUMPRODUCT: SUMPRODUCT((ISOWEEKNUM(D2:D9)=10)*E2:E9).

Sources

Official documentation the facts on this page were checked against.

Practise ISOWEEKNUM on a live sheet

Lesson 28, Weekdays and working days (Unit 7, Dates and time maths), has 5 graded exercises, checked instantly, with steps and hints when you're stuck. Pro