+ Reply to Thread
Results 1 to 18 of 18

Time & a half calulated on real time (not after x many hours worked)

Hybrid View

nickp84 Time & a half calulated on... 11-03-2012, 10:24 AM
dogberry Re: Time & a half calulated... 11-03-2012, 10:37 AM
oeldere Re: Time & a half calulated... 11-03-2012, 10:38 AM
nickp84 Re: Time & a half calulated... 11-03-2012, 11:24 AM
oeldere Re: Time & a half calulated... 11-03-2012, 11:30 AM
nickp84 Re: Time & a half calulated... 11-03-2012, 02:57 PM
Kevin UK Re: Time & a half calulated... 11-04-2012, 05:56 AM
nickp84 Re: Time & a half calulated... 11-04-2012, 08:03 AM
jason.b75 Re: Time & a half calulated... 11-04-2012, 08:08 AM
nickp84 Re: Time & a half calulated... 11-04-2012, 08:16 AM
jason.b75 Re: Time & a half calulated... 11-04-2012, 08:23 AM
Kevin UK Re: Time & a half calulated... 11-04-2012, 08:50 AM
BB1972 Re: Time & a half calulated... 11-04-2012, 11:14 AM
nickp84 Re: Time & a half calulated... 11-04-2012, 02:27 PM
jason.b75 Re: Time & a half calulated... 11-05-2012, 02:56 PM
jason.b75 Re: Time & a half calulated... 11-07-2012, 01:11 PM
nickp84 Re: Time & a half calulated... 11-15-2012, 05:59 PM
nickp84 Re: Time & a half calulated... 11-15-2012, 06:12 PM
  1. #1
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Time & a half calulated on real time (not after x many hours worked)

    Hi

    I would start with dates & times in their own columns. You are over complicating things as well, with overtime between 11:30 PM - 7:30 AM and regular time between 7:30 - 11:30 PM you will need a bunch of IF's, AND's OR's etc. Probably why your not getting much response to your post!

    Here's a link to working with Dates and Times

  2. #2
    Registered User
    Join Date
    10-24-2012
    Location
    during dnReoog
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Time & a half calulated on real time (not after x many hours worked)

    Quote Originally Posted by Kevin UK View Post
    Hi

    I would start with dates & times in their own columns. You are over complicating things as well, with overtime between 11:30 PM - 7:30 AM and regular time between 7:30 - 11:30 PM you will need a bunch of IF's, AND's OR's etc. Probably why your not getting much response to your post!

    Here's a link to working with Dates and Times
    HI,

    Thanks for replying Kevin.

    I can't change the time bands (annoyingly) that is just the deal at work. Do you think it is just a little too tricky to do what I want?

    Take your point about separate columns - however then you can't work out the possible bridge over two days, (ie Monday 22:00 - Tuesday 03:00 in separate columns returns a shift of -19 hrs).

    Unless anyone can think of a workaround,even if slightly convoluted, maybe I'm stuck.

    Any thoughts?

    Nick

  3. #3
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Time & a half calulated on real time (not after x many hours worked)

    I can do convoluted

    Formula: copy to clipboard
    =ROUNDUP(((D2-C2)+(MAX(0,"07:30"-MOD(C2,1))+MAX(0,-MOD(D2,1)+"7:30"))*0.5)*24*VLOOKUP(B2,$A$11:$B$13,2,0),2)

  4. #4
    Registered User
    Join Date
    10-24-2012
    Location
    during dnReoog
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Time & a half calulated on real time (not after x many hours worked)

    well fliberdigibbit! you got it it seems. though I don't really understand it... I'll have to look at the MAX and MOD functions.

    Thank you very much.

    N

  5. #5
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Time & a half calulated on real time (not after x many hours worked)

    You're welcome,

    As an afterthought, I didn't check the results with a start time before 23:30 and finish after 07:30, I think it should be ok though.

+ 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