+ Reply to Thread
Results 1 to 11 of 11

Cant get the minutes in computing this time stamp

  1. #1
    Registered User
    Join Date
    10-22-2013
    Location
    Florida
    MS-Off Ver
    Excel 2013
    Posts
    6

    Unhappy Cant get the minutes in computing this time stamp

    Good day, i need help in getting the timestamp in this xls file. I am having a trouble with it,

    I already format the cell and it is now d/m/yy h:mm
    I already try this formula =TEXT(F5-D5,"h:mm") and also =(F5-D5)

    Please see attached file for more details.
    Attached Files Attached Files
    Last edited by ragnakistah; 10-22-2013 at 06:54 PM.

  2. #2
    Forum Contributor
    Join Date
    08-08-2012
    Location
    USA, CA
    MS-Off Ver
    Excel 2007
    Posts
    131

    Re: Cant get the minutes in computing this time stamp

    in cell G5, type =F5-D5, then right click>>format cells
    Time should be in 13:30:55 format.
    Then click ok....It should now give you what you are looking for, which is 0:02:14

  3. #3
    Registered User
    Join Date
    10-22-2013
    Location
    Florida
    MS-Off Ver
    Excel 2013
    Posts
    6

    Re: Cant get the minutes in computing this time stamp

    Hello newbie4

    I tried what you said but still not working.

    \1

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

    Re: Cant get the minutes in computing this time stamp

    Your date/times are text values, so you need to do this:

    =TEXT(SUBSTITUTE(F5," AM","")-SUBSTITUTE(D5," AM",""),"h:mm")

    Hope this helps.

    Pete

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

    Re: Cant get the minutes in computing this time stamp

    Are you using US regional settings? If not then you may get #VALUE! error if dd/mm/yyyy is used as default date format....because 10/22/2013 would be an invalid date......
    Audere est facere

  6. #6
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Cant get the minutes in computing this time stamp

    Try this:

    =TEXT(TEXT(F5,"h:mm:ss")-(TEXT(D5,"h:mm:ss")),"h:mm:ss")
    Last edited by AlKey; 10-22-2013 at 08:49 PM.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  7. #7
    Registered User
    Join Date
    10-22-2013
    Location
    Florida
    MS-Off Ver
    Excel 2013
    Posts
    6

    Re: Cant get the minutes in computing this time stamp

    Quote Originally Posted by daddylonglegs View Post
    Are you using US regional settings? If not then you may get #VALUE! error if dd/mm/yyyy is used as default date format....because 10/22/2013 would be an invalid date......

    Hello Daddylonglegs,

    You just give me a tip, i remember I customized my Regional Settings before I now use the valid date format in my regional settings and it worked like charms! Thanks a lot!

    Best Regards,
    Ragnakistah

  8. #8
    Registered User
    Join Date
    10-22-2013
    Location
    Florida
    MS-Off Ver
    Excel 2013
    Posts
    6

    Re: Cant get the minutes in computing this time stamp

    Quote Originally Posted by AlKey View Post
    Try this:

    =TEXT(TEXT(F5,"h:mm:ss")-(TEXT(D5,"h:mm:ss")),"h:mm:ss")
    Hello AlKey!

    This formula also works! Thank you!

  9. #9
    Registered User
    Join Date
    10-22-2013
    Location
    Florida
    MS-Off Ver
    Excel 2013
    Posts
    6

    Re: Cant get the minutes in computing this time stamp

    Quote Originally Posted by Pete_UK View Post
    Your date/times are text values, so you need to do this:

    =TEXT(SUBSTITUTE(F5," AM","")-SUBSTITUTE(D5," AM",""),"h:mm")

    Hope this helps.

    Pete
    Hello Pete,

    Thank you your solution also works for me! It is much shorter and look great also!

    Best Regards,
    Ragnakistah

    Thank you everyone for your help!

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

    Re: Cant get the minutes in computing this time stamp

    Well, you have a number of working solutions.

    If that takes care of your original question, please select Thread Tools from the menu above your first post and mark this thread as SOLVED.

    Also, since you are relatively new to the forum, I would like to inform you that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

  11. #11
    Registered User
    Join Date
    10-22-2013
    Location
    Florida
    MS-Off Ver
    Excel 2013
    Posts
    6

    Re: Cant get the minutes in computing this time stamp

    Quote Originally Posted by Pete_UK View Post
    Well, you have a number of working solutions.

    If that takes care of your original question, please select Thread Tools from the menu above your first post and mark this thread as SOLVED.

    Also, since you are relatively new to the forum, I would like to inform you that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete
    Hello Pete,

    Message well noted!

    Thank you!

+ 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. How to get time stamp and user name stamp
    By eskains in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-07-2013, 09:44 AM
  2. trying to convert a number into minutes and add minutes to a starting time
    By crbazzer in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-28-2013, 09:26 AM
  3. [SOLVED] Computing Hours and Minutes using excel 2010
    By kraddark in forum Excel General
    Replies: 13
    Last Post: 05-12-2012, 02:37 AM
  4. Time/Date Stamp conversion to just minutes
    By Avery21 in forum Excel General
    Replies: 4
    Last Post: 02-29-2012, 11:42 AM
  5. Converting hours and minutes in military time to minutes
    By Argile79 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 04-13-2010, 02:42 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