Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
=WEEKNUM(A2,2)Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Need it for your exact data?
Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.
WEEKNUM starts counting with the week containing January 1. ISOWEEKNUM follows ISO 8601, where week 1 is the week containing the first Thursday of the year. Results differ at year-start and year-end.
Add a helper column with =WEEKNUM(A2) or =ISOWEEKNUM(A2), then use that column as a row field in your pivot table to group records by week number.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: