+ Reply to Thread
Results 1 to 6 of 6

Hours and minutes (separate cells)

Hybrid View

vanish Hours and minutes (separate... 07-11-2010, 10:44 AM
daddylonglegs Re: Hours and minutes ... 07-11-2010, 11:17 AM
vanish Re: Hours and minutes... 07-11-2010, 03:37 PM
vanish Re: Hours and minutes... 07-12-2010, 11:46 AM
daddylonglegs Re: Hours and minutes... 07-12-2010, 11:51 AM
vanish Re: Hours and minutes... 07-12-2010, 12:00 PM
  1. #1
    Registered User
    Join Date
    07-11-2010
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    4

    Hours and minutes (separate cells)

    Hi
    Im working on a company timesheet, and I'm trying to add hours and minutes together. That's fine except that the hours are in a seperate cell to the minutes.
    i.e
    hours(hh) are R7-R27
    minutes (mm) are S7-S27

    now I know how to do the sum if everything is in the same cell but having things seperate is a real pain.
    So anyway I need to add the total minutes at the bottom of S27 to the hours at the bottom of R27 (and the minutes should not exceed 59)

    Thanks in anticipation.

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

    Re: Hours and minutes (seperate cells)

    By hh and mm do you mean that the cells are formatted that way? If they are you can just add everything together

    =SUM(R7:R27,S7:S27)

    then format result cell as [h]:mm

    ....or if your cells have just numbers

    =(SUM(R7:R27)+SUM(S7:S27)/60)/24

    format as before
    Audere est facere

  3. #3
    Registered User
    Join Date
    07-11-2010
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Hours and minutes (separate cells)

    Will that give me total hours in a separate cell to the minutes, as they have total hours in cell R28 and total minutes in cell S28.
    I know this sounds a bit awkward, but I think they designed the timesheet to be printed & written on. Hence the hours in one column and mins in another.

  4. #4
    Registered User
    Join Date
    07-11-2010
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Hours and minutes (separate cells)

    Hi I tried what you sugested above. To make things much more straight forward to explain, I have attached a copy of the timesheet.
    It is the total hours and total over time hours that i wish to ad correctly, anyway it's clear what I mean when you look at the spreadsheet
    Attached Files Attached Files

  5. #5
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,698

    Re: Hours and minutes (separate cells)

    OK try this formula form R28

    =SUM(R7:R27)+INT(SUM(S7:S27)/60)

    and this one in S28

    =MOD(SUM(S7:S27),60)

  6. #6
    Registered User
    Join Date
    07-11-2010
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Hours and minutes (separate cells)

    you're spot on daddylonglegs.
    Thank you very much

+ 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