Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default CALCULATE BETWEEN TWO DATES EXCLUDING WEEKENDS

A) B)
11/20/09 11/23/09

11/2/09 11/5/09

When I use the Network formula it says 4 days which is incorrect for the
11.20.09 date.

I use the formula NETWORKDAYS(A1,B1)

also when i use to calculate 11/2/09 and 11/5/09 which i know are not
weekend dates but regular business dates it says 4 days which is wrong its 3
days

I use the formula NETWORKDAYS(A1,B1)

Please help me
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default CALCULATE BETWEEN TWO DATES EXCLUDING WEEKENDS

Networkdays includes both the begin and end date in it's calculations. Just
subtract 1 to get the results you want.

Regards,
Fred

"CYNTHIA" wrote in message
...
A) B)
11/20/09 11/23/09

11/2/09 11/5/09

When I use the Network formula it says 4 days which is incorrect for the
11.20.09 date.

I use the formula NETWORKDAYS(A1,B1)

also when i use to calculate 11/2/09 and 11/5/09 which i know are not
weekend dates but regular business dates it says 4 days which is wrong its
3
days

I use the formula NETWORKDAYS(A1,B1)

Please help me


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default CALCULATE BETWEEN TWO DATES EXCLUDING WEEKENDS

What results are you expecting?

11/20/09...11/23/09 = 2 which is correct
11/2/09...11/5/09 = 4 which is correct


If you want a result of 3 for 11/2/09...11/5/09 then which date don't you
want to count? The start date or the end date?

What results do you expect for these dates:

11/2/2009 (Mon) - 11/2/2009 (Mon)
11/1/2009 (Sun) - 11/2/2009 (Mon)
11/6/2009 (Fri) - 11/7/2009 (Sat)

--
Biff
Microsoft Excel MVP


"CYNTHIA" wrote in message
...
A) B)
11/20/09 11/23/09

11/2/09 11/5/09

When I use the Network formula it says 4 days which is incorrect for the
11.20.09 date.

I use the formula NETWORKDAYS(A1,B1)

also when i use to calculate 11/2/09 and 11/5/09 which i know are not
weekend dates but regular business dates it says 4 days which is wrong its
3
days

I use the formula NETWORKDAYS(A1,B1)

Please help me



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default CALCULATE BETWEEN TWO DATES EXCLUDING WEEKENDS

On Thu, 3 Dec 2009 14:51:01 -0800, CYNTHIA wrote:

A) B)
11/20/09 11/23/09

11/2/09 11/5/09

When I use the Network formula it says 4 days which is incorrect for the
11.20.09 date.

I use the formula NETWORKDAYS(A1,B1)

also when i use to calculate 11/2/09 and 11/5/09 which i know are not
weekend dates but regular business dates it says 4 days which is wrong its 3
days

I use the formula NETWORKDAYS(A1,B1)

Please help me


The "logic" of the NETWORKDAYS function is to include both the starting and
ending days. After all, if you were a worker, and your first day of work was
11/2/09 and your last day of work was 11/5/09, you would want to be paid for
four days and not three.

If you want to do simple subtraction, then merely subtract 1 from the
networkdays answer.
--ron
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 A Date Excluding Weekends And Holidays travelersway New Users to Excel 10 February 9th 12 07:34 PM
Calculate End Date (excluding weekends and holidays) guitaronmyback Excel Worksheet Functions 6 May 6th 09 10:17 PM
Calculate the time difference excluding weekends and out of businesshours ( i.e. 8AM - 5 PM) [email protected] Excel Worksheet Functions 3 July 28th 08 12:40 PM
Calculate number of hours between dates and times excluding Weekends [email protected] Excel Discussion (Misc queries) 1 October 21st 06 02:16 AM
Calculate A Date Excluding Weekends And Holidays travelersway New Users to Excel 1 February 8th 06 08:56 PM


All times are GMT +1. The time now is 07:45 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"