+ Reply to Thread
Results 1 to 2 of 2

Calculating hours between two points in time

  1. #1
    John Pierce
    Guest

    Calculating hours between two points in time

    I need a way of calculating the length of events
    at work that start and end at various times,
    sometimes spanning several days. I have been
    working with a formula using NETWORKDAYS
    that I got on Chip Pearson's site and I get good
    results for most events but the problem is that we
    are open on Saturday and NETWORKDAYS
    eliminates those hours. I do want to eliminate
    Sundays and Holidays so I was wondering if
    there was a custom worksheet formula or VBA
    procedure that could accomodate a six-day work week.


  2. #2
    Registered User
    Join Date
    03-15-2004
    Posts
    12
    why not just subtract end time from start time and format as [h:mm:ss] to get hours,minutes and sec.
    Or take result of subtraction and multiply by 1440 and divide by 60. Format as general and get decimal hours.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1