Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

ISO week number

In Numbers I haven't found any way to calculate the week number according to the ISO standard used in almost all European countries. Is there any way to do this or is Excel the only work around? The WEEKNR formula work some years but for 2016 its one week wrong all year around.

Numbers 3.5.3-OTHER, OS X Yosemite (10.10.5)

Posted on Aug 18, 2015 12:00 PM

Reply
10 replies

Aug 18, 2015 6:12 PM in response to hacke

hacke wrote:


In Numbers I haven't found any way to calculate the week number according to the ISO standard used in almost all European countries. Is there any way to do this or is Excel the only work around?


There may be other ways, but you can calculate the ISO week number in Numbers the same way you could do it in Excel, as described here.


If the date is in B4 then you can get its ISO week number with this:


=INT((B4-DATE(YEAR(B4-WEEKDAY(B4-1)+4),1,3)+WEEKDAY(DATE(YEAR(B4-WEEKDAY(B4-1)+4 ),1,3))+5)/7)


SG

Aug 19, 2015 5:40 AM in response to Wayne Contello

Hi Wayne,


The ISO week numbers in column A of my test table are what one can find posted on the Internet. The formula I suggested (from Microsoft, for Excel) produces results that match those week numbers.


So, despite apparent lingering doubts, the evidence strongly suggests that my suggested solution is indeed "correct."🙂


There may be more succinct formulas in Numbers using DURATION, but this one works in both Excel and Numbers.


SG

Aug 19, 2015 5:51 AM in response to SGIII

SG,


I was not trying to cast doubt as to your particular solution so much as wonder about the fact that the week number does not roll over to 1 at the beginning of a new year.


It must be that ISO requires the rollover to occur for the first full week where the other functions roll over at the beginning of the year. correct was in doubt quotes because the ISO result does not look correct IN MY OPINION. Knowing that there is some other definition of what correct is lead me to double quote correct.


Here the answer:

  1. 8601

  2. Week number according to the ISO-8601 standard, weeks starting on Monday. The first week of the year is the week that contains that year's first Thursday (='First 4-day week'). The highest week number in a year is either 52 or 53. This year has 53 weeks.

Aug 19, 2015 7:52 AM in response to hacke

hacke wrote:


Thanks SGIII,


I hope that the next version of Numbers will be localized and not just translated. Excel actually return the correct week number in countries where ISO is used.


An ISOWEEKNUM() function was added in Excel 2013. Is that what you are referring to?


You could give feedback to Apple via your menu Numbers > Provide Numbers Feedback.


SG

ISO week number

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.