+ Reply to Thread
Results 1 to 7 of 7

How do I format periods of time and then add them up

  1. #1
    Registered User
    Join Date
    03-10-2013
    Location
    Sunshine Coast, Australia
    MS-Off Ver
    Excel 2007
    Posts
    2

    How do I format periods of time and then add them up

    Hi

    I have to provide works logs for my clients, showing how many hours I have worked each day. I then need to tally this up each week. I have attached an example, from which I have to add up everything manually.

    I have spent hours looking for a easy way to do this in Excel, but without luck. Surely Excel is able to add these chunks of time up for me?

    If I change the format of the cells to hh:mm:ss, and then try to put say 2 hours 45 minutes into the cell, it shows something totally different.

    Can someone please explain how I can enter periods of time in my log, and then have them automatically totalled.

    Any help would be massively appreciated.

    Thank you in advance.

    Lucy
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    12-16-2012
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010 & 2007
    Posts
    66

    Re: How do I format periods of time and then add them up

    Hi Lucy,

    Those times are not "lengths of time", but a time of day. When you enter 2:45, it's thinking of 2:45am or pm. Off the top of my head, you should either enter a Start Time & End Time for each transaction, or enter the length of time in minutes.

    Something is weird about your sheet...when I try to click on a cell, it almost always selects multiple rows beneath the selected cell as well. What did you do to it?

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: How do I format periods of time and then add them up

    Change the format to h:mm then enter the time like this:

    For:

    1h 30m enter 1:30
    10h 0m enter 10:00
    0h 45m enter 0:45

    Then, to get the sum total just use a simple SUM(...) function:

    =SUM(D2:D22)

    Format the sum as [h]:mm

    The brackets [ ] keep the hours from rolling over into days.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: How do I format periods of time and then add them up

    Hello Lucy,

    Yes - try formatting the cells as hh:mm.......and when you enter the times you still have to use a colon, e.g. enter 2:30 for 2 hours 30 minutes

    Now you can use a simple SUM function to sum the times, e.g.

    =SUM(D2:D16)

    Format the result cell with custom format [h]:mm - the square brackets allow totals greater than 23:59 to be displayed
    Audere est facere

  5. #5
    Forum Contributor Toonies's Avatar
    Join Date
    07-30-2009
    Location
    Newcastle, UK
    MS-Off Ver
    Excel 2016
    Posts
    503

    Re: How do I format periods of time and then add them up

    hi try this

    Log Example.xlsx

  6. #6
    Registered User
    Join Date
    03-10-2013
    Location
    Sunshine Coast, Australia
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: How do I format periods of time and then add them up

    Thank you so much to everyone for your helpful comments.

    I think I have finally done it!

    I know that I would NEVER have worked that one out on my own.

    THANK YOU again.

  7. #7
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: How do I format periods of time and then add them up

    You're welcome. We appreciate the feedback!

+ 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