+ Reply to Thread
Results 1 to 4 of 4

Adding days and hours

  1. #1
    Registered User
    Join Date
    04-06-2015
    Location
    Yakima, WA
    MS-Off Ver
    2013 ms office
    Posts
    2

    Adding days and hours

    Hey all, I work in a jail tracking inmate sentences and credit, and I would like to have a way to add 3 sets of days and hours together and come up with a total days and hours (less than 24). Say, 12 days 7 hours + 57 days 22 hours +114 days 17 hours. I can (and have been) doing it all by hand, but I thought 'why?'

    I'm not much of an Excel guru and would appreciate the help. Thanks!

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

    Re: Adding days and hours

    If you put the days in column A (just numbers) and hours as numbers too in column B, e.g for your example "Days" as header in A1, 12, 57 and 114 in A2 to A4 then "Hours" in B1 with 7, 22 and 17 in B2:B4

    For totals use this formula in A5

    =SUM(A2:A4)+INT(SUM(B2:B4)/24)

    ...and this one in B5

    =MOD(SUM(B2:B4),24)
    Audere est facere

  3. #3
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,915

    Re: Adding days and hours

    pls attach sample excel file
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  4. #4
    Registered User
    Join Date
    04-06-2015
    Location
    Yakima, WA
    MS-Off Ver
    2013 ms office
    Posts
    2

    Re: Adding days and hours

    Works great. Thank you!

+ 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. [SOLVED] Adding time - days, hours, minutes
    By kryptix in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-19-2013, 07:33 AM
  2. Replies: 6
    Last Post: 12-01-2012, 05:28 PM
  3. Adding on call hours for different days
    By Antennas in forum Excel General
    Replies: 4
    Last Post: 10-11-2011, 07:16 PM
  4. adding days/hours automatically to date time using a macro
    By dexter87 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-11-2011, 08:26 PM
  5. Adding Days:Hours:Minutes
    By Charles Watson in forum Excel General
    Replies: 2
    Last Post: 11-10-2005, 06:40 PM

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