+ Reply to Thread
Results 1 to 2 of 2

Calculating how many hours somebody worked in a certain interval

  1. #1
    Registered User
    Join Date
    11-29-2014
    Location
    Romania
    MS-Off Ver
    2010
    Posts
    3

    Calculating how many hours somebody worked in a certain interval

    Hi guys,

    I don't really know how to solve a problem..

    I have a table in which the working hours are calculated. For every worker in every day I have 2 cells: the time he started working (time formatted) and how many hours he worked. For example, Worker 1 started working at 20:00 and worked for 9 hours.
    I would like to know how can I calculate in a single formula how many hours has Worker1 worked between 22:00 and 06:00 o'clock (because those are considered night hours and has to be pay with a bonus).

    Thank you in advance for your help !

  2. #2
    Valued Forum Contributor
    Join Date
    11-22-2014
    Location
    Arizona, USA
    MS-Off Ver
    Office 365
    Posts
    973

    Re: Calculating how many hours somebody worked in a certain interval

    Fun times when it is grave.

    =IF(Start Time>End Time,("24:00"-Start Time)+End Time,End Time-Start Time)
    That should do it, obviously replace Start time and End time with references to the cells that they are in
    -If you think you are done, Start over - ELeGault

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Calculating actual hours worked only in core hours
    By Val C in forum Excel General
    Replies: 3
    Last Post: 02-27-2013, 01:54 AM
  2. Replies: 0
    Last Post: 05-14-2012, 05:36 PM
  3. Calculating Hours worked by day
    By rapscalli in forum Excel General
    Replies: 3
    Last Post: 05-04-2012, 06:32 AM
  4. Calculating basic hours worked, between a time range and premium hours worked
    By RoyLittle0 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 01-07-2012, 06:59 AM
  5. Replies: 0
    Last Post: 01-05-2012, 06:23 AM

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