+ Reply to Thread
Results 1 to 3 of 3

Evaluate if an activity is happening during a given time interval

  1. #1
    Registered User
    Join Date
    10-12-2021
    Location
    Nowhere
    MS-Off Ver
    2019
    Posts
    2

    Evaluate if an activity is happening during a given time interval

    Hello community, i have start and end times for events throughout a given day. I can calculate the length in time for each event and the amount of events, but I'm trying to evaluate if there was an active event in specific 5 minutes intervals.

    For example:

    2 events, the first one starts at 6:23pm and ends at 6:38pm, next event starts at 6:47pm and ends at 6:54. When evaluating the 5 minute intervals with this information, i'd like to get something like this:

    6:20pm NO
    6:25pm YES
    6:30pm YES
    6:35pm YES
    6:40pm NO
    6:45pm NO
    6:50pm YES
    6:55pm NO

    I figured one way could be using an IF AND with "greater than or equal to" and "less than or equal to", but i was wondering if anyone had another idea. Thanks

  2. #2
    Registered User
    Join Date
    10-12-2021
    Location
    Nowhere
    MS-Off Ver
    2019
    Posts
    2

    Re: Evaluate if an activity is happening during a given time interval

    Found a useful suggestion in the excel subreddit "/r/excel/comments/q710ot/evaluate_if_an_activity_is_happening_during_a/"

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Attached Images Attached Images

  3. #3
    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. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,836

    Re: Evaluate if an activity is happening during a given time interval

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

    Administrative Note:

    Welcome to the forum.

    Although we value your privacy as much you do, it could be important that members have a rough idea of your location as the solutions they offer may be affected by your locale. For instance, you might in the future post questions which are related to your regional settings.

    With this in mind, please update your profile to something more precise (something such as UK, Europe, USA, UAE, etc. will suffice).

    Thank you for helping us to help you.
    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.

+ 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. Need Help - The time entry is happening continuously - need to calculate only valid Time
    By prabhuduraraj09 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-21-2018, 09:50 PM
  2. Help creating a chartof events happening over time
    By Urbano in forum Excel General
    Replies: 0
    Last Post: 07-06-2014, 10:54 PM
  3. Replies: 1
    Last Post: 04-29-2014, 04:42 AM
  4. Activity Time Tracker to capture activity selected from dropdown list
    By dillibabu in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-24-2013, 01:10 PM
  5. Replies: 0
    Last Post: 04-23-2012, 10:06 AM
  6. Time Tracker - I need a macro that calculates the time spent on an activity
    By amark in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-01-2011, 09:55 AM
  7. Replies: 0
    Last Post: 09-03-2010, 05:36 AM

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