+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : Adding hours and minutes each day and by job code

  1. #1
    Registered User
    Join Date
    03-09-2012
    Location
    Mooresville, NC
    MS-Off Ver
    Excel 2003
    Posts
    1

    Adding hours and minutes each day and by job code

    I am using excel to upload to payroll. I need excel to add the minutes put in as 8.0 + 3.30 + 3.30, = 15 instead of 14:60. How can I populate the hours/minutes and what function do I use to sum or sumproduct?

    thanks in advance

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Adding hours and minutes each day and by job code

    tinnie,

    Welcome to the forum!
    Try DollarDE formula:
    =DOLLARDE(8+3.3+3.3,60)/1440

    And format cell as Time
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  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: Adding hours and minutes each day and by job code

    Hi,

    To sum and convert the entries, assuming they're in A1:A3 use the array formula (entered with Ctrl-Shift-Enter)
    =SUM(INT(A1:A10))+SUM(A1:A10-INT(A1:A10))/0.6

    change the A1:A10 range as necessary

    There's probably a more elegant way but one way to sum the hours for a particular job, assuming the job numbers are in B1:B10 and the job number you're looking to sum is in C1

    =INT(SUMPRODUCT((A1:A10)*(B1:B10=C1)))+(SUMPRODUCT((A1:A10)*(B1:B10=C1))-INT(SUMPRODUCT((A1:A10)*(B1:B10="A"))))/0.6
    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.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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