Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 99
Default Remove non-business days between dates

My supervisor asked me to calculate how long it takes to perform certain
projects. In one column I have start date and the other is the end date.

I would like to calculate the number of days in between but take out the
non-business days (i.e. Saturday, Sunday).

Is this possible? Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Remove non-business days between dates

With Start Date in A1 and End Date in B1 try the below formula in C1 which
will give you the number of days from to both inclusive (except weekends)

=(B1-WEEKDAY(B1,2)+WEEKDAY(A1,2)-A1)/7*5-MIN(5,WEEKDAY(A1,2))+MIN(5,WEEKDAY(B1,2))+1

If this post helps click Yes
---------------
Jacob Skaria


"dgold82" wrote:

My supervisor asked me to calculate how long it takes to perform certain
projects. In one column I have start date and the other is the end date.

I would like to calculate the number of days in between but take out the
non-business days (i.e. Saturday, Sunday).

Is this possible? Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Remove non-business days between dates

Or use
=networkdays(A1,B1,)

Function available with in Analysis ToolPak Add-In. To install from menu
ToolsAddInsCheck 'Analysis ToolPak'

If this post helps click Yes
---------------
Jacob Skaria


"Jacob Skaria" wrote:

With Start Date in A1 and End Date in B1 try the below formula in C1 which
will give you the number of days from to both inclusive (except weekends)

=(B1-WEEKDAY(B1,2)+WEEKDAY(A1,2)-A1)/7*5-MIN(5,WEEKDAY(A1,2))+MIN(5,WEEKDAY(B1,2))+1

If this post helps click Yes
---------------
Jacob Skaria


"dgold82" wrote:

My supervisor asked me to calculate how long it takes to perform certain
projects. In one column I have start date and the other is the end date.

I would like to calculate the number of days in between but take out the
non-business days (i.e. Saturday, Sunday).

Is this possible? Thanks.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 99
Default Remove non-business days between dates

Thanks!

"Jacob Skaria" wrote:

With Start Date in A1 and End Date in B1 try the below formula in C1 which
will give you the number of days from to both inclusive (except weekends)

=(B1-WEEKDAY(B1,2)+WEEKDAY(A1,2)-A1)/7*5-MIN(5,WEEKDAY(A1,2))+MIN(5,WEEKDAY(B1,2))+1

If this post helps click Yes
---------------
Jacob Skaria


"dgold82" wrote:

My supervisor asked me to calculate how long it takes to perform certain
projects. In one column I have start date and the other is the end date.

I would like to calculate the number of days in between but take out the
non-business days (i.e. Saturday, Sunday).

Is this possible? Thanks.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 119
Default Remove non-business days between dates

Jacob wrote on Mon, 29 Jun 2009 07:14:01 -0700:

Function available with in Analysis ToolPak Add-In. To install
from menu

Tools AddInsCheck 'Analysis ToolPak'

If this post helps click Yes
---------------
Jacob Skaria


"Jacob Skaria" wrote:


With Start Date in A1 and End Date in B1 try the below
formula in C1 which will give you the number of days from to
both inclusive (except weekends)

=(B1-WEEKDAY(B1,2)+WEEKDAY(A1,2)-A1)/7*5-MIN(5,WEEKDAY(A1,2))
+MIN(5,WEEKDAY(B1,2))+1

If this post helps click Yes
---------------
Jacob Skaria

"dgold82" wrote:

My supervisor asked me to calculate how long it takes to
perform certain projects. In one column I have start date
and the other is the end date.

I would like to calculate the number of days in between but
take out the non-business days (i.e. Saturday, Sunday).

Is this possible? Thanks.


I might point out that some people (like me) do not include some public
holidays as workdays and NETWORKDAYS can take a list of holidays.

--

James Silverton
Potomac, Maryland

Email, with obvious alterations: not.jim.silverton.at.verizon.not

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculate business days between 2 dates Vic Excel Discussion (Misc queries) 2 May 21st 09 03:42 PM
How can I calculate the number of business days between two dates Anonymous New Users to Excel 3 June 18th 08 03:30 PM
Business Days Only lsmft Excel Discussion (Misc queries) 11 March 10th 06 12:16 PM
Is there a way to calculate business working days between dates i. hjyoungii Excel Worksheet Functions 2 February 23rd 05 04:25 PM
How do I find how many business days are between two dates S trainer Excel Worksheet Functions 2 December 15th 04 07:30 PM


All times are GMT +1. The time now is 10:14 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"