<?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: Workday Function</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2005/02/15/workday-function/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2005/02/15/workday-function/</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: Rosy</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/02/15/workday-function/#comment-50811</link>
		<dc:creator>Rosy</dc:creator>
		<pubDate>Fri, 17 Sep 2010 19:41:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1021#comment-50811</guid>
		<description>&lt;p&gt;Hello!&lt;/p&gt;
&lt;p&gt;I&#039;m using the =WORKDAY(B24,5,holidays) function to setup a processing calendar, does what I need it to do with the exception if the 1st of the month is a Sat or Sun. My start date is the first of the month and pay date is sixth working day of the month excluding holidays and weekends (Sat/Sun)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hello!</p>
<p>I&#8217;m using the =WORKDAY(B24,5,holidays) function to setup a processing calendar, does what I need it to do with the exception if the 1st of the month is a Sat or Sun. My start date is the first of the month and pay date is sixth working day of the month excluding holidays and weekends (Sat/Sun)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keli</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/02/15/workday-function/#comment-35049</link>
		<dc:creator>Keli</dc:creator>
		<pubDate>Mon, 13 Oct 2008 18:20:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1021#comment-35049</guid>
		<description>&lt;p&gt;Can someone help with a workday question. I have tried variations of the workday function but I think because my cell format is TIME, it is causing an error and in addition how do I address work hours?&lt;/p&gt;
&lt;p&gt;Row 1&lt;br&gt;
Col A = Start Date/Time = 9/5/2008  4:00 PM Fri&lt;br&gt;
Col B = End Date/Time = WORKDAY FORMULA GOES HERE&lt;br&gt;
Col C = Duration = 1 hr 30 min&lt;/p&gt;
&lt;p&gt;Note: Col B Cannot be a Weekend or Holiday, Workweek 8 to 5&lt;br&gt;
Expected Result is: 9/8/2008  8:30 AM Mon&lt;/p&gt;
&lt;p&gt;This is an example of what I have that is not working, Analysis ToolPak is loaded &amp; checked, holidays is working.&lt;/p&gt;
&lt;p&gt;IN ROW:1, COl:B =WORKDAY(A1,A1+C1,holidays)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Can someone help with a workday question. I have tried variations of the workday function but I think because my cell format is TIME, it is causing an error and in addition how do I address work hours?</p>
<p>Row 1<br />
Col A = Start Date/Time = 9/5/2008  4:00 PM Fri<br />
Col B = End Date/Time = WORKDAY FORMULA GOES HERE<br />
Col C = Duration = 1 hr 30 min</p>
<p>Note: Col B Cannot be a Weekend or Holiday, Workweek 8 to 5<br />
Expected Result is: 9/8/2008  8:30 AM Mon</p>
<p>This is an example of what I have that is not working, Analysis ToolPak is loaded &amp; checked, holidays is working.</p>
<p>IN ROW:1, COl:B =WORKDAY(A1,A1+C1,holidays)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bigchap</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/02/15/workday-function/#comment-32510</link>
		<dc:creator>Bigchap</dc:creator>
		<pubDate>Thu, 22 May 2008 23:30:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1021#comment-32510</guid>
		<description>&lt;p&gt;I need to calculate an end date based on a start date + a specified number of days.&lt;br&gt;
Normally I use =WORKDAYS(A1,5,hols), where A1 is the start date and hols is a specified named range of other holidays. This works perfectly for Europe where Sat and Sun are weekend days and therefore ignored by the formula.&lt;/p&gt;
&lt;p&gt;However I also need to perform this calculation for China where the working week is six days (only Sunday is a day off). Does anyone know how I could either redefine the Workday function somehow, or create a different formula which would only ignore sundays plus other named holidays?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I need to calculate an end date based on a start date + a specified number of days.<br />
Normally I use =WORKDAYS(A1,5,hols), where A1 is the start date and hols is a specified named range of other holidays. This works perfectly for Europe where Sat and Sun are weekend days and therefore ignored by the formula.</p>
<p>However I also need to perform this calculation for China where the working week is six days (only Sunday is a day off). Does anyone know how I could either redefine the Workday function somehow, or create a different formula which would only ignore sundays plus other named holidays?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JENNY</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/02/15/workday-function/#comment-27859</link>
		<dc:creator>JENNY</dc:creator>
		<pubDate>Wed, 03 Oct 2007 20:28:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1021#comment-27859</guid>
		<description>&lt;p&gt;Jean - this didn&#039;t work for me.  And I have the Add-in installed.  I am using =WORKDAY(A1,B1,G4:G17)    G4:G17 are my holiday dates.&lt;br&gt;
I can&#039;t figure out how to &#039;name&#039; the list Holidays.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Jean &#8211; this didn&#8217;t work for me.  And I have the Add-in installed.  I am using =WORKDAY(A1,B1,G4:G17)    G4:G17 are my holiday dates.<br />
I can&#8217;t figure out how to &#8216;name&#8217; the list Holidays.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jean</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/02/15/workday-function/#comment-27539</link>
		<dc:creator>Jean</dc:creator>
		<pubDate>Thu, 20 Sep 2007 17:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1021#comment-27539</guid>
		<description>&lt;p&gt;Roopal, you make a list of the dates that are holidays somewhere in your workbook, name the list a range name holidays.  I tried other range names and only holidays works.  The formula I needed turned out to be:  =WORKDAY(A2,15,holidays) where my beginning date was in cell A2 and I wanted to step forward 15 days every time.  I did have to format the cell for date format.  I marked the State holidays on my calendar and counted work days forward at various months of the year and it worked perfectly every time.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Roopal, you make a list of the dates that are holidays somewhere in your workbook, name the list a range name holidays.  I tried other range names and only holidays works.  The formula I needed turned out to be:  =WORKDAY(A2,15,holidays) where my beginning date was in cell A2 and I wanted to step forward 15 days every time.  I did have to format the cell for date format.  I marked the State holidays on my calendar and counted work days forward at various months of the year and it worked perfectly every time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jean</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/02/15/workday-function/#comment-27538</link>
		<dc:creator>Jean</dc:creator>
		<pubDate>Thu, 20 Sep 2007 16:32:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1021#comment-27538</guid>
		<description>&lt;p&gt;Roopal, I have the same question.  We need to be able to calculate from a date +15 days and exclude weekends and a specific list of holidays.  I tried =workday(A1,+15,holidays) but got a #Name? as a result.  I see above that Workday does not use the Holiday argument.  So how do we step ahead and not include weekends and holidays?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Roopal, I have the same question.  We need to be able to calculate from a date +15 days and exclude weekends and a specific list of holidays.  I tried =workday(A1,+15,holidays) but got a #Name? as a result.  I see above that Workday does not use the Holiday argument.  So how do we step ahead and not include weekends and holidays?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roopal</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/02/15/workday-function/#comment-27514</link>
		<dc:creator>Roopal</dc:creator>
		<pubDate>Wed, 19 Sep 2007 21:39:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1021#comment-27514</guid>
		<description>&lt;p&gt;How do I find the first calendar that is a specified number of workdays after a specified date, taking into account of holidays?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>How do I find the first calendar that is a specified number of workdays after a specified date, taking into account of holidays?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PeterPainter</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/02/15/workday-function/#comment-26834</link>
		<dc:creator>PeterPainter</dc:creator>
		<pubDate>Tue, 28 Aug 2007 17:10:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1021#comment-26834</guid>
		<description>&lt;p&gt;The formula still isn&#039;t correct.&lt;br&gt;
It correctly adds 2 days weekend for every full 5 workdays, but to determine whether another 1 or two days need to be added at the end, only the surplus days (below full 5 workdays) may be taken into account. And no matter whether the ending day is saturday or sunday, 2 days need to be added in any case (a full weekend)&lt;/p&gt;
&lt;p&gt;The formulat I came up is&lt;/p&gt;
&lt;p&gt;=date+days+2*(TRUNCATE(days/5)+CHOOSE(WEEKDAY(date+MODULO(days;5));2;0;0;0;0;0;2)&lt;/p&gt;
&lt;p&gt;I&#039;m not sure about &quot;truncate&quot; and &quot;modulo&quot;, the German Excel uses German keywords &quot;ganzzahl&quot; and &quot;rest&quot; (how stupid!).&lt;br&gt;
One could do it with a recursion too (add 2 if the result is Sa or So) by adding a recursive reference as the WEEKDAY parameter. But this is typical JAVA programmers style - nice, obvious, understandable, big, bloated and slow ;)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>The formula still isn&#8217;t correct.<br />
It correctly adds 2 days weekend for every full 5 workdays, but to determine whether another 1 or two days need to be added at the end, only the surplus days (below full 5 workdays) may be taken into account. And no matter whether the ending day is saturday or sunday, 2 days need to be added in any case (a full weekend)</p>
<p>The formulat I came up is</p>
<p>=date+days+2*(TRUNCATE(days/5)+CHOOSE(WEEKDAY(date+MODULO(days;5));2;0;0;0;0;0;2)</p>
<p>I&#8217;m not sure about &#8220;truncate&#8221; and &#8220;modulo&#8221;, the German Excel uses German keywords &#8220;ganzzahl&#8221; and &#8220;rest&#8221; (how stupid!).<br />
One could do it with a recursion too (add 2 if the result is Sa or So) by adding a recursive reference as the WEEKDAY parameter. But this is typical JAVA programmers style &#8211; nice, obvious, understandable, big, bloated and slow <img src='http://www.dailydoseofexcel.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alex2</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/02/15/workday-function/#comment-12336</link>
		<dc:creator>alex2</dc:creator>
		<pubDate>Tue, 10 May 2005 19:37:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1021#comment-12336</guid>
		<description>&lt;p&gt;This replacement formula is inaccurate because it doesn&#039;t correctly account for weekends. For example, three workdays from Thursday is Tuesday, not Monday. You need to correctly factor in the number of weekend days that have past and also add this as a multiple of the number of weeks past:&lt;/p&gt;
&lt;p&gt;=date+(num_days + 2*(num_days/5))+CHOOSE(WEEKDAY(date+num_days),1,0,0,0,0,0,2)&lt;/p&gt;
&lt;p&gt;Also, I didn&#039;t agree with subtracting a day if the result ended on Saturday.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>This replacement formula is inaccurate because it doesn&#8217;t correctly account for weekends. For example, three workdays from Thursday is Tuesday, not Monday. You need to correctly factor in the number of weekend days that have past and also add this as a multiple of the number of weeks past:</p>
<p>=date+(num_days + 2*(num_days/5))+CHOOSE(WEEKDAY(date+num_days),1,0,0,0,0,0,2)</p>
<p>Also, I didn&#8217;t agree with subtracting a day if the result ended on Saturday.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

