Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
WEEKNUM calculates which week of the year a date falls in, accepting an optional return_type argument that controls whether the week starts on Sunday (1, default) or Monday (2). It is commonly used for weekly reporting, sprint planning, and grouping data by week number.
=WEEKNUM(DATE(2024,3,15),2)=WEEKNUM(DATE(2024,3,15),2)Computed by a real spreadsheet engine on the sample data below.
| SaleDate | WeekNum |
| 2024-01-07 | |
| 2024-03-15 | |
| 2024-07-22 | |
| 2024-12-29 |
=WEEKNUM(DATE(2024,3,15),2)→11
Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Need a version for your data?
Try: “Add a week number column to my sales data so I can group by week”
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: