← Back to level 2
Level 2Next
WEEKNUM
A medium date-part formula for pulling a specific piece out of a date value.
Syntax
=WEEKNUM(...)Step-by-step explanation
- 1Understand the job that WEEKNUM solves before you type the formula.
- 2Build or select the cells and ranges that WEEKNUM needs before typing it.
- 3Check the output and refine the range or criteria if needed.
Common mistakes
Passing in text that is not a real date
Using the result without checking formatting
Choosing the wrong date part for the task
Example table
A quick scenario to connect the syntax to the result.
| 12 | 18 |
| 8 | 68 |
Formula
=WEEKNUM(A1:B2)
Result
68
Worked example
- 1Read the sample data first so you know what the formula needs to solve.
- 2Enter =WEEKNUM(A1:B2) in the result cell and press Enter.
- 3Check that the output matches 68.
Practice area
Use WEEKNUM when you need one part of a date for grouping, labels, or analysis.
Match against the syntax block above.