Ravindra BagaleCourses & study guides Track your progress

Excel WEEKNUM Function

Chala mitrano — today WEEKNUM. Turn a date into a week number for planning boards and ISO reports.

Fictional sample data for learning. Logistics hubs in Nagpur and Hamburg. Mixed ₹ and €.

Purpose

Return the week number of the year for a date.

Return value

A week number.

Syntax

WEEKNUM(serial_number, [return_type])

Arguments

ArgumentRequired?Description
serial_numberRequiredA date.
return_typeOptional1 = week begins Sunday; 2 = Monday; 21 = ISO week system.

Version

All modern Excel; LibreOffice WEEKNUM. For strict ISO weeks prefer ISOWEEKNUM when available.

How to use — Why → What → How

Why: Warehouses talk in week numbers (‘ship in W44’). WEEKNUM prints that number from any date. Logistics hubs in Nagpur and Hamburg plan by week number. In Indian back offices and foreign sister teams, WEEKNUM shows up on leave, SLA and invoice sheets every week.

What: WEEKNUM returns the week of year. return_type picks Sunday-start, Monday-start, or ISO (21). Read every argument in the table once before you type; each one changes the answer on purpose.

How — numbered steps:

  1. Type =WEEKNUM(A2,21) for ISO.
  2. Agree the system with your team.
  3. Pair with YEAR for unique week keys.

Ravindra Bagale's Tip

Friends, after you learn WEEKNUM, open a real schedule sheet and find one cell this function would fix this week.

Ravindra Bagale's Tip

Friends, sleep on WEEKNUM and rebuild example 1 tomorrow without looking.

Ravindra Bagale's Tip

Friends, say the business question in plain words before =WEEKNUM.

Ravindra Bagale's Tip

Friends, after you finish WEEKNUM, open yesterday’s real workbook and find one place this function would have saved ten minutes. That habit turns lessons into salary skills.

Ravindra Bagale's Tip

Friends, treat WEEKNUM like a seatbelt on date sheets — use it before a manager asks why the deadline slipped.

Download practice file: practice-weeknum.xlsx (includes sheet About this data, practice sheets, and Answers).

Worked examples

1) Default week

Nagpur dispatch.

Date₹
2026-10-3115000
Formula: =WEEKNUM(A2,21)

Result: 44

What it means: ISO week number (return_type 21) for 31 Oct 2026.

2) ISO week

Hamburg €.

Date€
2026-10-31820
Formula: =WEEKNUM(A2,21)

Result: 44

What it means: ISO week for 31 Oct 2026.

3) Monday system

Type 2.

Date
2026-01-01
Formula: =WEEKNUM(A2,2)

Result: 1

What it means: Monday-start numbering.

4) Year+week key

Unique key.

Date
2026-10-31
Formula: =YEAR(A2)&"-W"&TEXT(WEEKNUM(A2,21),"00")

Result: 2026-W44

What it means: Stable label for pivots.

5) Compare systems

Same date.

Date
2026-01-04
Formula: =WEEKNUM(A2)&" / "&WEEKNUM(A2,21)

Result: (system1 / ISO)

What it means: Systems can disagree near year starts.

6) Filter one week

Keep ISO 44.

Date
2026-10-28
2026-11-05
Formula: =IF(WEEKNUM(A2,21)=44,"W44","")

Result: W44 on first row

What it means: Flag matching week.

Common errors and fixes

#VALUE! — Bad date. Fix: Fix.
Mismatch with client — Different return_type. Fix: Agree ISO 21 for EU clients.
#NUM! — Bad return_type. Fix: Use allowed codes.

Notes and tips

  • Revisit WEEKNUM errors after quiz.
  • Build one example from memory.
  • Check formats if wrong.
  • Teach a tip in Marathi/Hindi.
  • Keep currency consistent in one column.
  • Note version fallbacks.
  • Drill: tag five dates with week numbers for a dispatch board.
  • WEEKNUM vs ISOWEEKNUM: WEEKNUM has systems; ISOWEEKNUM is always ISO weeks.
  • Fictional data only.
  • Print WEEKNUM revision card.
  • Predict before Enter.
  • Track top mistake monthly.
  • Logistics hubs in Nagpur and Hamburg plan by week number.
  • Dates are serials.
  • Verify on a known calendar.
  • Print the revision card for WEEKNUM and stick it near your monitor for one week of real worksheets.
  • When helping a junior, ask them to predict the result before pressing Enter — prediction builds judgement.
  • Keep a personal notebook of the one mistake you make most often with this function; review it monthly.
  • Share one tip from this page with a classmate in Marathi or Hindi — teaching locks the idea.
  • If a result looks wrong, check date formats and regional settings before changing the formula.
  • Date serial numbers are how Excel stores dates — formatting only changes the display.
  • Share one tip from this page with a classmate in Marathi or Hindi — teaching locks the idea.
  • Keep currency symbols consistent inside a single report column even when practice mixes ₹ $ £ € across examples.
  • Classroom habit: after WEEKNUM, open yesterday’s real workbook and find one place this function saves time.
  • For interviews, explain why calendar days and working days differ on a project that crosses a weekend.

In real work

Drill: tag five dates with week numbers for a dispatch board. Logistics hubs in Nagpur and Hamburg plan by week number. Classroom drill: write three brand-new WEEKNUM formulas on a blank sheet using names from your own city — if you can invent them without the page open, you own the skill. Then break one formula on purpose and watch the error; recovering from that break is half of interview readiness. Always verify with a known calendar date before trusting a long chain of date formulas. Keep a personal notebook of the one mistake you make most often with this function; review it monthly. When Excel versions differ at home and in class, write the fallback formula under the modern one in a comment cell.

How it compares

WEEKNUM vs ISOWEEKNUM: WEEKNUM has systems; ISOWEEKNUM is always ISO.

Interview corner

ISO?
return_type 21.
Why disagree near Jan?
Different week rules.
Key with year?
Concatenate YEAR and week.

WEEKDAY, DATE, NETWORKDAYS

Practice tasks (10)

  1. Task 1. WEEKNUM of 31-Oct-2026 default.
    Default.
  2. Task 2. ISO week same date.
    21.
  3. Task 3. Build YEAR-Wxx key.
    Join.
  4. Task 4. Flag ISO 44.
    IF.
  5. Task 5. Compare systems on 4 Jan 2026.
    Both.
  6. Task 6. Document chosen system.
    Note.
  7. Task 7. Explain ISO to classmate.
    Teach.
  8. Task 8. Fill week column.
    Fill.
  9. Task 9. Interview: why systems differ.
    Talk.
  10. Task 10. Bonus: ISOWEEKNUM if available.
    Related.

Quick quiz

Q1. ISO weeks use return_type:
Q2. WEEKNUM returns:
Q3. Near 1 Jan risk:
Q4. Label 2026-W44 via:
Q5. EU logistics often prefer:

Answers: Q1=21, Q2=Week number, Q3=Systems disagree, Q4=YEAR & WEEKNUM, Q5=ISO (21) (check after you try).

Revision card

Standalone card (no tip or photo strip). QR opens this lesson. Download the PNG and revise offline.

Revision card: WEEKNUM
WEEKNUM revision card