+ Reply to Thread
Results 1 to 6 of 6

Formulas using Time Stamp Data in Excel

  1. #1
    Registered User
    Join Date
    02-24-2020
    Location
    Mississauga Ontario Canada
    MS-Off Ver
    Office 2016
    Posts
    3

    Question Formulas using Time Stamp Data in Excel

    Hello everyone Hoping to get some help with time stamp data. I need to be able to calculate some aspects of time data that i have.
    To start with, i am looking to find a formula to calculate the time between transactions. So in other words, time between an End Time and a new Start Time and presented in hours/Minutes (00:00).
    Here is a sample of data that i am looking at in a table form.
    So calculate the time between "End Time" (9:00) and new "Start Time" (9:01). Then, 9:12 and 9:12, then 9:25 and 9:27 etc
    Yes this is simplistic math in nature, however i have several thousand lines of data to work with.

    Please Login or Register  to view this content.
    Any help is greatly appreciated!
    Thank you!!

    Talenjay
    Last edited by 6StringJazzer; 02-24-2020 at 12:26 PM. Reason: Moderator added code tags for spacing of data

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Formulas using Time Stamp Data in Excel

    Welcome to the Forum talenjay!

    Times can be added and subtracted just like other numbers. Starting in row 3, use

    =A3-B2

    and copy down.

    BTW some of your example data is not correct. For example, it shows 9:29 to 9:58 as 0:59 but it's actually 0:29
    Last edited by 6StringJazzer; 02-24-2020 at 12:30 PM.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Formulas using Time Stamp Data in Excel

    If you will be recording times between days (i.e. overnight), then this formula will work better
    In C4
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

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

  4. #4
    Registered User
    Join Date
    02-24-2020
    Location
    Mississauga Ontario Canada
    MS-Off Ver
    Office 2016
    Posts
    3

    Re: Formulas using Time Stamp Data in Excel

    Thank you 6String, however i did try that but i think because the field contain 'AM' ans 'PM' i get a #VALUE! error when i try the simplistic formula =A3-B2.

  5. #5
    Registered User
    Join Date
    02-24-2020
    Location
    Mississauga Ontario Canada
    MS-Off Ver
    Office 2016
    Posts
    3

    Re: Formulas using Time Stamp Data in Excel

    Thank you ChemistB
    I have tried this formula, but when i copy down, all other results are 0. What have i done wrong?
    Attachment 664308

  6. #6
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Formulas using Time Stamp Data in Excel

    This suggests that your times are actually text strings, and not times at all. The best solution is to use actual Excel time values instead of text. I suggest you attach your actual file. See the yellow banner at the top of the page.

    The second best solution is
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    or
    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ 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. Computer time stamp -> excel time stamp
    By j.petrut in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-27-2014, 05:49 PM
  2. [SOLVED] Formulas requiring a time stamp
    By Chip Pearson in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-06-2005, 07:05 PM
  3. [SOLVED] Formulas requiring a time stamp
    By Major Tomm in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 PM
  4. Formulas requiring a time stamp
    By Major Tomm in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 PM
  5. [SOLVED] Formulas requiring a time stamp
    By Major Tomm in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 11:05 AM
  6. Formulas requiring a time stamp
    By Major Tomm in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  7. Formulas requiring a time stamp
    By Major Tomm in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 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