+ Reply to Thread
Results 1 to 5 of 5

Calculating time (Division)

  1. #1
    Registered User
    Join Date
    10-25-2018
    Location
    Manchester, England
    MS-Off Ver
    MS 365 Enterprise
    Posts
    73

    Calculating time (Division)

    Hi

    I am trying to calculate some large amounts of times and keep getting error messages?

    I am trying to sum the below times:

    27468:24:55
    0:16:22
    4514:01:25
    14626:12:19
    198:54:32

    And then want to divide them by 1022077.

    I am using the [h]:mm:ss formatting.


    I thought it would be simple but keep getting VALUE error message.

    Any help would be greatly appreciated

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,462

    Re: Calculating time (Division)

    Have a look at https://support.microsoft.com/en-us/...icrosoft-excel

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,852

    Re: Calculating time (Division)

    Two of your values (the first and fourth) are too large for Excel to recognise as times in [h]:mm:ss format, so they will be stored as text values, rather than as real numbers. You will need to convert them to real numbers.

    Hope this helps.

    Pete

  4. #4
    Registered User
    Join Date
    10-25-2018
    Location
    Manchester, England
    MS-Off Ver
    MS 365 Enterprise
    Posts
    73

    Re: Calculating time (Division)

    Thanks for your help.

    Just used Google Docs and worked fine.

  5. #5
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Calculating time (Division)

    You can use this formula:

    =SUM(IFERROR(INT(A1:A5)*24+HOUR(A1:A5),LEFT(A1:A5,FIND(":",A1:A5)-1)+0))+SUM(IFERROR(MINUTE(A1:A5),MID(A1:A5,FIND(":",A1:A5)+1,2)+0))/60+SUM(IFERROR(SECOND(A1:A5),RIGHT(A1:A5,2)+0))/3600 Ctrl Shift Enter

    To produce the total number of hours.

+ 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. Division with time gives wrong result
    By ClaudioH in forum Excel General
    Replies: 4
    Last Post: 01-29-2019, 03:26 PM
  2. Run Time Error 11 (Division by Zero)
    By walid66 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 01-09-2018, 04:50 AM
  3. Am i doing this correctly (Time division)
    By oneblondebrow in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-18-2017, 02:08 PM
  4. Calculating Division Records in Fantasy Baseball
    By mvcasaz in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-23-2017, 05:11 PM
  5. [SOLVED] Calculating Overtime Per Division
    By jmcconville18 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-13-2015, 12:13 PM
  6. Time division into sections
    By ranme100 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-31-2012, 04:41 PM
  7. calculating points and division using VBA in excel
    By Edward Masoya in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 07-21-2011, 09:44 AM

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