LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
 
Posts: n/a
Default NETWORKDAY function problem - starting on weekends

Hi,

I have used the function that Chip Pearson has supplied on his website
which calculates the difference between 2 dates. My problem is just
when the first date I supply to the function is on the saturday or the
sunday then it adds another day to the result.
example : 28-MAY-05 08:30 till 30-MAY-05 11:15

The time I want is on the 30th (Monday) from 9:00 till 11:15 but I get
an extra day and 7 hours using the formula.

Workhours is from 08:00 till 17:00 on a week day.

If the time started is before 8:00 on a Saturday I can change it to the
friday 17:00 and then the formula works again, but after 08:00 on a
saturday I am back where I started.

The other options is to create 2 new start and end date columns with
only working dates, but I will need to evaluate each date first to see
if it is a weekend and then get the next wotking day at 8:00 .

Any ideas how I can get around that if the range starts or ends on a
weekend or how I can test for a working day on a date supplied ?

Regards
Lourens

 
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
Spellnumber Norman Jones Excel Worksheet Functions 6 December 13th 04 07:21 AM
Excel Send To function problem kysiow Excel Discussion (Misc queries) 1 December 10th 04 01:37 AM
Formula to list unique values JaneC Excel Worksheet Functions 4 December 10th 04 12:25 AM
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. Robert AS Excel Worksheet Functions 4 December 2nd 04 10:49 AM
Counting Function Dilemma Simon Lloyd Excel Worksheet Functions 0 November 8th 04 03:13 PM


All times are GMT +1. The time now is 04:02 PM.

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"