+ Reply to Thread
Results 1 to 5 of 5

Average hours between two dates

  1. #1
    Registered User
    Join Date
    08-13-2012
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    24

    Average hours between two dates

    I am trying to find out if it is possible to calculate the average daily hours i need to work in a set period.

    I am using the formula =IF(Total!$B$2*2-(N58+N65)<0,TEXT(ABS(Total!$B$2*2-(N58+N65)),"[h]:mm"),TEXT(Total!$B$2*2-(N58+N65),"-[h]:mm")) - this gives me the total number if hours i am contracted to work in any 2-week period.

    i want to show an average number of hours i need to work to reach my contracted hours.

    Any help, greatly appreciated.

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Average hours between two dates

    Hi Thompsonchris,

    Please upload a sample workbook.. thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), dilipandey@gmail.com

  3. #3
    Registered User
    Join Date
    08-13-2012
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    24

    Re: Average hours between two dates

    Hi

    I have copied below the last 2 columns of the sheet - in this example Column A shows the weekly hours worked so far and Column B shows the formula in my previous comment.

    A B
    Weekly Hours 2-Week Rota Hours


    Hope this helps - thanks for your interest.

  4. #4
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Average hours between two dates

    Hi Thompsonchris,

    Did you uploaded any workbook?
    I am not able to see any workbook attached in your post #3. Thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

  5. #5
    Registered User
    Join Date
    08-13-2012
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    24

    Re: Average hours between two dates

    Unfortunately, I dont currently have access to upload the file as i am using a different pc. I will try to up load it in the next day or so.

+ 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