+ Reply to Thread
Results 1 to 6 of 6

Total hours is date is the same

  1. #1
    Registered User
    Join Date
    02-01-2010
    Location
    Sheffield
    MS-Off Ver
    Excel 2003
    Posts
    9

    Total hours is date is the same

    Moning All,

    This might take some explaining so I've added a document that may make it easier to understand.

    In column A, I have a series of dates.
    In column B, I have a series of hours and minutes

    What I want to be able to do is total the number of hours and minutes for each day and display the results in column C.

    Hope that makes sense!

    Scott
    Attached Files Attached Files
    Last edited by scott488; 05-03-2011 at 08:55 AM.

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Total hours is date is the same

    Perhaps
    Please Login or Register  to view this content.
    and format as [h]:mm:ss

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Total hours is date is the same

    Hi,

    One way, and since your times are text rather than proper time numbers (i.e. decimals of a day) we need some string conversion involved, is as follows.

    Add an extra row so that the data starts in A2

    Now in C2 which should be formatted as time ("hh:mm") enter the following formula and copy down.
    Please Login or Register  to view this content.
    This will give you a cumulative daily total.

    What I suspect you're really after is just the total for each day. In which case extract a unique list of dates into say column E, then change the formula above and leave out the last bit with the +IF

    Now you can use SUMIF() to sum the daily totals from column C.

    Regards
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Registered User
    Join Date
    02-01-2010
    Location
    Sheffield
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Total hours is date is the same

    Authurbr,

    My apologies, I have changed the format to [h]:mm:ss

    That works for the one cell with the date shown (04/01/11), but I would like it to work this out across multiple dates.

    Unless I've missed something?

    I've added a new example to show what I would prefer to see once the formula is copied across the cells in column C

    Scott
    Attached Files Attached Files
    Last edited by scott488; 05-03-2011 at 07:34 AM.

  5. #5
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Total hours is date is the same

    Like the attached perhaps?
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    02-01-2010
    Location
    Sheffield
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Total hours is date is the same

    arthurbr,

    Exactly like that, thank you very much for your time and effort.

    Regards
    Scott

+ 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