+ Reply to Thread
Results 1 to 8 of 8

Calculate time between two times

  1. #1
    Forum Contributor
    Join Date
    08-30-2015
    Location
    Tresfjord, Norway
    MS-Off Ver
    365
    Posts
    169

    Calculate time between two times

    Hi ...
    Been searching, but I am doing something wrong here, but I cannot find out what.

    Can anybody help me?
    This is pretty basic stuff ...
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2406 Win 11 Home 64 Bit
    Posts
    23,974

    Re: Calculate time between two times

    Can you explain your format. I don't understand what the last character represents. I get the hh:mm/ss but the last character escapes me.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

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

    Re: Calculate time between two times

    Excel expects to have a colon between minutes and seconds, so assuming your decimal separator is a comma you could try this formula

    =SUBSTITUTE(A2,".",":")-SUBSTITUTE(A1,".",":")
    Audere est facere

  4. #4
    Forum Contributor
    Join Date
    08-30-2015
    Location
    Tresfjord, Norway
    MS-Off Ver
    365
    Posts
    169

    Re: Calculate time between two times

    Yeah I reckoned there was a format problem.

    The numbers are - hours:minutes.seconds,tenth of a second

    No need for dates and more than 24 hours.

  5. #5
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Calculate time between two times

    or maybe this
    Attached Files Attached Files
    Last edited by sandy666; 01-28-2018 at 01:36 PM.

  6. #6
    Forum Contributor
    Join Date
    08-30-2015
    Location
    Tresfjord, Norway
    MS-Off Ver
    365
    Posts
    169

    Re: Calculate time between two times

    Seems fine, until I allow for editing, the the #VALUE error comes ...
    Screenshot - 28.01.2018 , 18.34.06.png

  7. #7
    Forum Contributor
    Join Date
    08-30-2015
    Location
    Tresfjord, Norway
    MS-Off Ver
    365
    Posts
    169

    Re: Calculate time between two times

    SOLVED

    Formatting error. Format must be hh:mm:ss,0

    Thanks a lot folks!!

  8. #8
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Calculate time between two times

    file was updated, check again here
    Attached Files Attached Files
    Last edited by sandy666; 01-28-2018 at 01:58 PM.

+ 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] How to calculate time difference between three times
    By Ismar in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-07-2016, 06:41 PM
  2. Replies: 1
    Last Post: 05-27-2015, 02:53 AM
  3. [SOLVED] How do you calculate elapsed time in hours between times on different dates?
    By RPeruzzi in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-10-2013, 01:16 PM
  4. Calculate Date/Time between two dates and times
    By LJ76 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-23-2010, 05:34 PM
  5. Replies: 4
    Last Post: 01-25-2009, 11:25 AM
  6. Calculate Total Time when Dates/Times Overlap
    By Steve Gilley in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-18-2008, 07:43 PM
  7. [SOLVED] calculate elapsed time between dates and times
    By Jenna in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-25-2006, 12:45 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