View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gibbyky2 Gibbyky2 is offline
external usenet poster
 
Posts: 13
Default Calculating number of workdays between 2 dates

Many thanks

works a treat :-)

"Jacob Skaria" wrote:

With start date in cell A1 and end date in cell B1 try the below formula
which use WEEKDAY and MIN functions...Format the formula cell to general if
it turns out to be in date format

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

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


"Gibbyky2" wrote:

here goes

i use excel 2007 and can calculate number of days between 2 dates using
networkdays function. but my colleagues use older versions of excel and
networkdays function does not work

i want to work out the example below as an example

1st date = 09/10/09
2nd date = 23/10/09

this equals 10 working days, i then want to be able to calculate the number
of days by 7.4 (average hours worked per day)

many thanks