+ Reply to Thread
Results 1 to 6 of 6

Formula To Calculate Hours Worked In a Day

  1. #1
    Registered User
    Join Date
    02-25-2009
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    79

    Formula To Calculate Hours Worked In a Day

    Hi

    Can someone please help me with this?

    I have attached a sample, i need a formula to count the hours worked in a day by my team. Some people may work 4 shifts a day meaning the formula will have to count all the hours worked over the 4 shitfs. Working day is between 6am - 1am


    Thanks
    Attached Files Attached Files
    Last edited by SilverFox; 03-15-2013 at 03:14 AM.

  2. #2
    Registered User
    Join Date
    02-25-2009
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    79

    Re: Formula To Calculate Hours Worked In a Day

    Anyone help on this? i have tried the
    Please Login or Register  to view this content.
    etc, but that is not working correctly as i am getting things like this -2.70, Am i missing something?

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Formula To Calculate Hours Worked In a Day

    Did you solve it? Did you see the text format in the columns?
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Registered User
    Join Date
    02-25-2009
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    79

    Re: Formula To Calculate Hours Worked In a Day

    Hi thought i had solved it, i was using time as 7.30 instead of 7:30 but i am getting an error when i put times of 19:00 - 01:00 any ideas? I formated all cells with hh:mm is that right?
    Last edited by SilverFox; 03-15-2013 at 05:05 AM.

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Formula To Calculate Hours Worked In a Day

    It's because the date is different after 24:00.

    So your Team maybe work from 6 in the morning until 01:00 in the morning of next day?


    Edit:
    I formated all cells with hh:mm is that right?
    Yes.

    In this case try =SUM(MOD(D2-B2+1,1)+MOD(H2-F2+1,1))
    Last edited by Fotis1991; 03-15-2013 at 05:18 AM. Reason: Edit:

  6. #6
    Registered User
    Join Date
    02-25-2009
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    79

    Re: Formula To Calculate Hours Worked In a Day

    hi yes but one may start at 19:00 to 01:00, its ok i solved it, thanks for your help

+ 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