+ Reply to Thread
Results 1 to 3 of 3

Grouping and counting series of time-stamped events

  1. #1
    Registered User
    Join Date
    12-06-2018
    Location
    Norway
    MS-Off Ver
    1811
    Posts
    31

    Grouping and counting series of time-stamped events

    Hello,

    I hope somebody can help me with this as I'm stuck on this problem. I've been organizing my data as seen on "data" file. Column A is the Time (per second) when the Event in Column B was observed.

    Additionally, there's a series of tagged Intervals (interval 1, interval 2, interval 3 etc.) on column C.

    There are 10 different categories of Events.

    What I'd like to do is, for each Interval, count the number of times an Event was observed.

    Ideally, I would like my transformed data to look like the "output" file. I've left the cells empty but of course they should be filled when the table is ready.

    Because there's one Event per second and MOST Intervals (but not all) last for 80 seconds, the total number of counts should then be 80 for the most part. This is accounted for in the column L of the "output" file which is basically a function =SUM(B2:K2).

    There's up to 5437 Inervals in the original file but I've only posted until Interval 6 because of size issues.

    Any input and help is welcome and thank you very much in advance!
    Attached Files Attached Files

  2. #2
    Forum Expert Roel Jongman's Avatar
    Join Date
    03-28-2015
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    1,483

    Re: Grouping and counting series of time-stamped events

    you can do that with countifs or with a pivot table, with the amount of intervals you have I think a pivottable is more helpfull as it will add new info automatic if you set the range correct.

    please see attachment for both solutions
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    12-06-2018
    Location
    Norway
    MS-Off Ver
    1811
    Posts
    31

    Re: Grouping and counting series of time-stamped events

    Thank you so much I couldn't get a better answer!

+ 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. Classifying time-stamped events into time intervals
    By juansalix in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 01-24-2019, 04:17 PM
  2. Counting events occurring between specific time windows and on certain days
    By Gyrene4341 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-19-2018, 06:59 PM
  3. [SOLVED] Filtering time stamped data
    By Mroy in forum Excel General
    Replies: 2
    Last Post: 01-29-2014, 01:16 PM
  4. [SOLVED] Grouping events based on Time Intervals in Pivots
    By hutch2hutch in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 06-13-2013, 05:10 AM
  5. [SOLVED] Averaging inconsistent time-stamped data
    By Dave Bn in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-25-2012, 04:55 PM
  6. [SOLVED] Binning Time Stamped Data into Intervals
    By pickslides in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-29-2012, 05:48 PM
  7. Time stamped data
    By Cspotrun in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-03-2007, 01:54 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