+ Reply to Thread
Results 1 to 3 of 3

Adding A Time Total More Than 24 Hours

  1. #1
    Registered User
    Join Date
    10-01-2008
    Location
    Boston, MA, USA
    MS-Off Ver
    2013
    Posts
    41

    Adding A Time Total More Than 24 Hours

    Hello, I am trying to automate a timesheet but cannot seem to calculate a total hours more than 24. I have looked in the help section of Excel but the suggestion it offered did not work.

    I have attached a copy but simply put it is showing as follows :-

    Mon Tue Wed Thu Fri Sat Sun
    10:00 Rest 19:00 19:00 Rest 07:00 Rest
    18:00 07:00 07:00 19:00

    Daily Totals Weekly Total
    08:00 12:00 12:00 12:00 20:00

    Now obviously the total hours worked should be 44:00 and not the 20:00 that excel is calculating the result to be.

    The cells are formatted as [hh]:mm

    The Vertical formula used to calculate the daily total is :-
    =IF(A2="Rest","",IF(A3<A2,A3+(24-A2),A3-A2))

    The horizontal formula used to calculate the weekly total is :-
    =SUM(A6:G6)

    Any help you could offer would be greatly appreciated as to say I'm perplexed is a slight understatement.
    Attached Files Attached Files

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    The formula in D26 and across and elsewhere should be

    =IF(D23="RD", "", D25 - D23 + (D23 > D25) )

    All such sums and differences should be formatted as [h]:mm
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    10-01-2008
    Location
    Boston, MA, USA
    MS-Off Ver
    2013
    Posts
    41
    Thankyou VERY much.

+ 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. Working out hours owed on a time sheet
    By ultra_l in forum Excel General
    Replies: 2
    Last Post: 07-07-2008, 11:44 AM
  2. adding data for time interval
    By sabsay in forum Excel General
    Replies: 0
    Last Post: 03-17-2008, 02:40 AM
  3. Counting names, total time, and comparing sums
    By WillGabriel in forum Excel - New Users/Basics
    Replies: 8
    Last Post: 11-27-2007, 04:19 PM
  4. Problems adding time formats
    By greg7468 in forum Excel General
    Replies: 2
    Last Post: 11-13-2006, 09:31 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