Excel Tutorial
Excel tutorials, quizzes & AI guides — all levels
RSS
  • Online Excel Exercises
  • Training
  • Excel Tests
  • Sitemap
  • Premium Quizzes
  • Shop
  • My account

Calculate Week Number Excel: A Quick Guide

Date
Reading time: 2 minutes
Views: 31,501

In this article, you will learn to calculate week numbers in Excel quickly and easily. However, it’s crucial to know that there is a difference between North America and other countries when calculating week numbers to avoid mistakes.

Why there are 2 WEEKNUM functions in Excel

  • In Europe, week numbers are calculated according to the ISO 8601 standard. This standard considers that the first week of the year must have at least four days. Therefore, if January 1 falls on Friday, Saturday, or Sunday, those days are counted as part of the previous year’s final week.
  • However, North America counts week 1 from January 1, even if that day is a Sunday. This explains why there can be a one-week difference.

In the following picture, you can see this difference in action.

  • With the WEEKNUM function, the 1st January is always the week #1
  • The ISOWEEKNUM function takes into consideration the day of the week. If it’s Friday, Saturday or Sunday, the function will return the last week number of the previous year.
Friday saturday sunday not week 1

So, depending on the region of the world you are in, the formula applied to calculate the day based on the week number will not be the same.

Formula to calculate the week number (WEEKNUM method)

The formula for returning the first Monday of a chosen week following the USA and Canadian rules is this one.

=DATE(Year,1,1)+(Week-1)*7-WEEKDAY(DATE(Year,1,1),2)+1

CAUTION! Week #1 may not have a Monday with this formula. If that happens, add an IF statement to handle the formula. If the year is not the chosen year, leave the result blank. If your Excel version has the LET function, you can write your formula like this

Calculate Monday with the US method WEEKNUM

If the week starts on a Sunday, remove the +1 at the end of the formula

=DATE(Year,1,1)+(Week-1)*7-WEEKNUM(DATE(Year,1,1),2)

Formula to calculate the week number (ISOWEEKNUM method)

If you want to calculate Monday according to the ISO week number rules, the formula is:

=DATE(Year,1,1)+IF(WEEKDAY(DATE(Year,1,1),2)<5,(WeekNum-1)*7,WeekNum*7)-WEEKDAY(DATE(Year,1,1),2)+1

This formula correctly shifts the first week into January when January 1 falls on Friday, Saturday, or Sunday.

Calculate Monday with the ISOWEEKNUM rule

Related Articles

  • The WEEKDAY function – Secrets and Errors
  • Add Days Excluding the Weekend in Excel
  • Week number in Excel: Avoid Mistakes
  • How to Calculate the Week Number in Excel?
  • Calculate Monday Previous Week with Excel
  • Calculate the Next Monday with Excel

Frédéric LE GUEN

date formula, ISOWEEKNUM, LET, week number, WEEKNUM

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Most Viewed Posts

  • Displaying Negative Numbers in Parentheses in Excel (310,065)
  • Top 10 Excel Functions You Must Know (232,001)
  • How to make automatic calendar in Excel (212,775)
  • Dash for a zero in Excel automatically (190,812)
  • Converting a Date from YYYYMMDD to DD/MM/YYYY in Excel (171,033)
image excel exercises
Excel Exercises
image excel quizzes
Excel Quizzes

Calculate Week Number Excel: A Quick Guide

Reading time: 2 minutes
Views: 31,501

In this article, you will learn to calculate week numbers in Excel quickly and easily. However, it’s crucial to know that there is a difference between North America and other countries when calculating week numbers to avoid mistakes.

Why there are 2 WEEKNUM functions in Excel

  • In Europe, week numbers are calculated according to the ISO 8601 standard. This standard considers that the first week of the year must have at least four days. Therefore, if January 1 falls on Friday, Saturday, or Sunday, those days are counted as part of the previous year’s final week.
  • However, North America counts week 1 from January 1, even if that day is a Sunday. This explains why there can be a one-week difference.

In the following picture, you can see this difference in action.

  • With the WEEKNUM function, the 1st January is always the week #1
  • The ISOWEEKNUM function takes into consideration the day of the week. If it’s Friday, Saturday or Sunday, the function will return the last week number of the previous year.
Friday saturday sunday not week 1

So, depending on the region of the world you are in, the formula applied to calculate the day based on the week number will not be the same.

Formula to calculate the week number (WEEKNUM method)

The formula for returning the first Monday of a chosen week following the USA and Canadian rules is this one.

=DATE(Year,1,1)+(Week-1)*7-WEEKDAY(DATE(Year,1,1),2)+1

CAUTION! Week #1 may not have a Monday with this formula. If that happens, add an IF statement to handle the formula. If the year is not the chosen year, leave the result blank. If your Excel version has the LET function, you can write your formula like this

Calculate Monday with the US method WEEKNUM

If the week starts on a Sunday, remove the +1 at the end of the formula

=DATE(Year,1,1)+(Week-1)*7-WEEKNUM(DATE(Year,1,1),2)

Formula to calculate the week number (ISOWEEKNUM method)

If you want to calculate Monday according to the ISO week number rules, the formula is:

=DATE(Year,1,1)+IF(WEEKDAY(DATE(Year,1,1),2)<5,(WeekNum-1)*7,WeekNum*7)-WEEKDAY(DATE(Year,1,1),2)+1

This formula correctly shifts the first week into January when January 1 falls on Friday, Saturday, or Sunday.

Calculate Monday with the ISOWEEKNUM rule

Related Articles

  • The WEEKDAY function – Secrets and Errors
  • Add Days Excluding the Weekend in Excel
  • Week number in Excel: Avoid Mistakes
  • How to Calculate the Week Number in Excel?
  • Calculate Monday Previous Week with Excel
  • Calculate the Next Monday with Excel
Tags: date formulaISOWEEKNUMLETweek numberWEEKNUM

Frédéric LE GUEN

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Contact us
About me 
Privacy Policy

© 2022 – 2026 – excel-tutorial.com. All Rights Reserved.
Excel Tutorial is managed by majordome du net

Contact us
About me 
Privacy Policy

© 2022 – 2026 – excel-tutorial.com. All Rights Reserved.
Excel Tutorial is managed by majordome du net