<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: ISO Year</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2010/02/04/iso-year/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2010/02/04/iso-year/</link>
	<description>Daily posts of Excel tips…and other stuff</description>
	<lastBuildDate>Thu, 09 Feb 2012 18:06:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Blair</title>
		<link>http://www.dailydoseofexcel.com/archives/2010/02/04/iso-year/#comment-43866</link>
		<dc:creator>Blair</dc:creator>
		<pubDate>Thu, 11 Feb 2010 01:18:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3543#comment-43866</guid>
		<description>&lt;p&gt;Before you led me via Ron to D Maher&#039;s &amp; C Pearson&#039;s efficient calculation for ISO Week Number, I had created an elaborate UDF based on VBA&#039;s DatePart function.  If anyone else has gone down that road, you should know there is a bug waiting for you.&lt;/p&gt;
&lt;div style=&quot;overflow: auto; white-space: nowrap;&quot; class=&quot;codecolorer-container vb default&quot;&gt;&lt;div style=&quot;white-space: nowrap;&quot; class=&quot;vb codecolorer&quot;&gt;DatePart(&lt;span class=&quot;st0&quot;&gt;&quot;ww&quot;&lt;/span&gt;, theDate, vbMonday, vbFirstFourDays)&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;gives a good ISO week number, except for these dates (in my sample range):&lt;br&gt;
1991-12-30&lt;br&gt;
2003-12-29&lt;br&gt;
2007-12-31&lt;br&gt;
2019-12-30&lt;br&gt;
2031-12-29&lt;br&gt;
The function returns week 53 (day 1).  The day following each correctly returns week 01 (day 2).&lt;br&gt;
(I&#039;m Excel 2003 on XP)&lt;/p&gt;
&lt;p&gt;There&#039;s another glitch at 2101-01-02, but I haven&#039;t investigated, gonna go with the slick formula instead.&lt;br&gt;
Thanks!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Before you led me via Ron to D Maher&#8217;s &amp; C Pearson&#8217;s efficient calculation for ISO Week Number, I had created an elaborate UDF based on VBA&#8217;s DatePart function.  If anyone else has gone down that road, you should know there is a bug waiting for you.</p>
<div style="overflow: auto; white-space: nowrap;" class="codecolorer-container vb default">
<div style="white-space: nowrap;" class="vb codecolorer">DatePart(<span class="st0">&#8220;ww&#8221;</span>, theDate, vbMonday, vbFirstFourDays)</div>
</div>
<p>gives a good ISO week number, except for these dates (in my sample range):<br />
1991-12-30<br />
2003-12-29<br />
2007-12-31<br />
2019-12-30<br />
2031-12-29<br />
The function returns week 53 (day 1).  The day following each correctly returns week 01 (day 2).<br />
(I&#8217;m Excel 2003 on XP)</p>
<p>There&#8217;s another glitch at 2101-01-02, but I haven&#8217;t investigated, gonna go with the slick formula instead.<br />
Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Redge</title>
		<link>http://www.dailydoseofexcel.com/archives/2010/02/04/iso-year/#comment-43764</link>
		<dc:creator>Redge</dc:creator>
		<pubDate>Sun, 07 Feb 2010 03:57:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3543#comment-43764</guid>
		<description>&lt;p&gt;This is a very timely update (no pun intended).  As we become increasingly global in our businesses, having to deal with dates has been quite an interesting ordeal.  I also read the original page and found it to be informative and useful.&lt;/p&gt;
&lt;p&gt;Thank you for taking the time to share the solution and the spreadsheet.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>This is a very timely update (no pun intended).  As we become increasingly global in our businesses, having to deal with dates has been quite an interesting ordeal.  I also read the original page and found it to be informative and useful.</p>
<p>Thank you for taking the time to share the solution and the spreadsheet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ron de Bruin</title>
		<link>http://www.dailydoseofexcel.com/archives/2010/02/04/iso-year/#comment-43727</link>
		<dc:creator>Ron de Bruin</dc:creator>
		<pubDate>Fri, 05 Feb 2010 19:42:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3543#comment-43727</guid>
		<description>&lt;p&gt;Hi Dick&lt;/p&gt;
&lt;p&gt;FYI&lt;/p&gt;
&lt;p&gt;I will update the page/workbook when I am ready with some stuff I am working now&lt;br&gt;
I have a few other formulas also that are shorter for ISO that I want to add&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Dick</p>
<p>FYI</p>
<p>I will update the page/workbook when I am ready with some stuff I am working now<br />
I have a few other formulas also that are shorter for ISO that I want to add</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ron de Bruin</title>
		<link>http://www.dailydoseofexcel.com/archives/2010/02/04/iso-year/#comment-43724</link>
		<dc:creator>Ron de Bruin</dc:creator>
		<pubDate>Fri, 05 Feb 2010 19:24:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3543#comment-43724</guid>
		<description>&lt;p&gt;Hi Dick&lt;/p&gt;
&lt;p&gt;The formula examples on my page are based on the year and you are correct that&lt;br&gt;
you see strange results when the date is before 4-jan-2010 if your input is a date.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Dick</p>
<p>The formula examples on my page are based on the year and you are correct that<br />
you see strange results when the date is before 4-jan-2010 if your input is a date.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

