+ Reply to Thread
Results 1 to 9 of 9

Cell format time

  1. #1
    Registered User
    Join Date
    10-15-2015
    Location
    Fort Worth, TX
    MS-Off Ver
    2011
    Posts
    4

    Cell format time

    I work with a video coding program, and I exported the coding as an excel spreadsheet.
    I have start and end times that show up as hh:mm:ss:ms (milliseconds).
    I need to calculate the difference between start and end times, but the formula won't work because I can't get excel to recognize the values as times/numbers.

    Help?

    *Also working with a mac.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: Cell format time

    There can be a number of causes fort this. Can you attach a sample sheet showing the problem?

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    The paperclip icon
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Cell format time

    Seems to be millisecond info here, but read the part about accuracy.

    http://www.pcreview.co.uk/threads/ti...conds.3759609/
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  4. #4
    Registered User
    Join Date
    10-15-2015
    Location
    Fort Worth, TX
    MS-Off Ver
    2011
    Posts
    4

    Re: Cell format time

    I tried doing a custom format in the form hh:mm:ss.000 but it doesn't change anything.
    Attached Files Attached Files

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: Cell format time

    Try this - you have text that just looks like a number. This will give you a value (in seconds) that you can then use:

    =(3600*LEFT(A3,2)+60*MID(A3,4,2)+--MID(A3,7,2)+MID(A3,10,2)/100)

  6. #6
    Registered User
    Join Date
    10-15-2015
    Location
    Fort Worth, TX
    MS-Off Ver
    2011
    Posts
    4

    Re: Cell format time

    Thanks!

    I definitely got a number using that formula, and was able to subtract the end time from the start time, but now how do I get that number back to something that makes sense?

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: Cell format time

    Not sure what you mean by that. See file for the formula in context. Doesn't this do what you'd wanted??
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    10-15-2015
    Location
    Fort Worth, TX
    MS-Off Ver
    2011
    Posts
    4

    Re: Cell format time

    I had the cell with the formula formatted as time, my bad.
    This works, thank you so much!

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: Cell format time

    No problem... snd thanks for the Rep.

+ 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. Change format of lots of data cell to a time format
    By dazza67 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 03-24-2013, 03:24 PM
  2. [SOLVED] cell format: TIME
    By reynoldsohio in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 01-28-2013, 11:30 PM
  3. Replies: 1
    Last Post: 04-18-2012, 11:18 AM
  4. Replies: 2
    Last Post: 04-11-2012, 02:06 PM
  5. Cell - Time format
    By Latlong in forum Excel General
    Replies: 11
    Last Post: 12-09-2009, 07:13 AM
  6. cell Time Format
    By HPB in forum Excel General
    Replies: 2
    Last Post: 11-07-2008, 08:41 AM
  7. [SOLVED] Re: How do I format a cell for time (ex. 02:17 without AM or PM)?
    By Gord Dibben in forum Excel General
    Replies: 2
    Last Post: 04-25-2006, 03:10 PM
  8. [SOLVED] cell format for date/time in same cell excel 2003
    By Sandy in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-17-2006, 11:50 PM

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