+ Reply to Thread
Results 1 to 2 of 2

how to calculate between times

  1. #1
    Registered User
    Join Date
    03-09-2004
    Posts
    1

    how to calculate between times

    hello all

    can someone pls advice.
    i need to calculate the time between start to finish dates.
    A1
    08/07/05 12:00

    A2
    09/07/05 1200

    i found this formula =text(a2-a1,"h:mm") to be helpful.
    but i want to calculate business hours only which is from 9am to 5:30.
    can someone pls advice what formula i can use?
    thanks

  2. #2
    Registered User
    Join Date
    07-01-2004
    Location
    Kent, UK
    Posts
    74
    Try this

    =17.5/24-(A1-ROUNDDOWN(A1,0)) gives number of hours worked on 1st day

    =NETWORKDAYS(A1,A2) gives number of full (8 1/2 hour) working days (multiply by 8.5/24 to get hours)

    =A2-(ROUNDDOWN(A2,0)+0.375) gives number of hours worked on the final day

    add them all up and you should have the number of days/ hours worked

+ 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