+ Reply to Thread
Results 1 to 3 of 3

Help with classifying events using time stamps

  1. #1
    Registered User
    Join Date
    12-31-2017
    Location
    US
    MS-Off Ver
    2016
    Posts
    1

    Unhappy Help with classifying events using time stamps

    Hello everyone,
    I am currently working on a template document which gets raw data as input (time and event type) and has to count those different events in time intervals of 10 minutes. the lenghth of my measurements will always be 24hrs, with different set points. I have succeeded in making this, but a funny thing happens in the 10 minutes between 23:50:00 and 00:00:00 - if I try to change the time manually to 00:00, the problem happens with the calculations of the 10 minutes before, moreover, my set point is not constant, so using constant time values (instead the +Time (0,10,0) function) is a bit problematic...
    A sheet containing the data for reference is accessible through here (it seems the uploader isn't working for me...) - https://drive.google.com/file/d/1CzN...ew?usp=sharing
    Hoping there's something to do!
    Thanks to anyone attempting to help~

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,432

    Re: Help with classifying events using time stamps

    Attach the file here, please.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,361

    Re: Help with classifying events using time stamps

    Try

    in M6

    =MOD(M5+TIME(0,10,0),1)

    copy down

    in N5

    =IF(M6<M5,COUNTIFS($I:$I,N$3,$H:$H, ">="&$M5,$H:$H, "<"&$M6+1),COUNTIFS($I:$I,N$3,$H:$H, ">="&$M5,$H:$H, "<"&$M6))

    copy down to N146
    Attached Files Attached Files

+ 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. Working with Time stamps
    By Stevewm in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-08-2014, 09:39 AM
  2. Create a Time Range off Time Stamps, and Count Intersecting values
    By athyeh in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-21-2014, 05:07 PM
  3. [SOLVED] Difference between two time stamps
    By Thinker8 in forum Excel General
    Replies: 2
    Last Post: 09-24-2013, 03:17 AM
  4. Converting time stamps to time intervals
    By enhydra in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-05-2011, 04:51 PM
  5. Time Difference in hours between two date time stamps
    By Cipher in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-17-2010, 10:24 AM
  6. Excel time-stamps - per row?
    By scottmcglasson in forum Excel General
    Replies: 1
    Last Post: 12-08-2008, 10:13 AM
  7. time stamps detailing last save time
    By sam1 in forum Excel General
    Replies: 4
    Last Post: 01-12-2005, 03:21 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