+ Reply to Thread
Results 1 to 9 of 9

Time Used per Interval

Hybrid View

  1. #1
    Registered User
    Join Date
    09-23-2010
    Location
    Cape Town, South Africa
    MS-Off Ver
    2007
    Posts
    14

    Unhappy Time Used per Interval

    Hi All,

    I am trying to put together a spreadsheet that will ideally show me how much time was used per interval.

    Contraints:

    - I only have the Start Time and End Time for an activity.
    - Multiple entries per Interval (possibly and start of interval and another entry for the end of an interval) (Need to some both)
    - Start Time can be in one interval and can end 3 to 4 intervals later as an example but could be more.

    I have tried multiple possible solutions attempts but none of them has worked for me. I have even tried using the Floor and Ceiling for the start and end times but to no avail.

    Could someone please help me.

    I have attached a screenshot of what my data set looks like.

    I am using 15 minute intervals for this project.

    regards,
    Murtadau

    IntervalData.PNG
    Last edited by Murtadau_Gabier; 04-25-2019 at 09:14 AM. Reason: Post formatting and additional context

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,459

    Re: Time Used per Interval

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Registered User
    Join Date
    09-23-2010
    Location
    Cape Town, South Africa
    MS-Off Ver
    2007
    Posts
    14

    Re: Time Used per Interval

    Hi Pepe,

    I have attached a file for your perusal.

    I have entered some of the fields aligned to how I need the data expressed.

    Thank you in advance.

    regards,
    Murtadau
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    09-23-2010
    Location
    Cape Town, South Africa
    MS-Off Ver
    2007
    Posts
    14

    Re: Time Used per Interval

    Is anyone able to assist with this one??

  5. #5
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Time Used per Interval

    Can you explain in more detail

  6. #6
    Registered User
    Join Date
    09-23-2010
    Location
    Cape Town, South Africa
    MS-Off Ver
    2007
    Posts
    14

    Re: Time Used per Interval

    With the latest attachement. I show how I would want the data positioned.

    I need to see whether an agent was within adherence. This is a temporary solution as I will be moving to building a SQL model and then building a report in Visual Studio.

    The report we get from CMS - Tace by Location gives a record for everything that the agent does on the Telephony System.

    So everytime they change their AUX state it will capture a new record.

    The problem is that a record could span over multiple 15 minute intervals and I need to capture it over the multiple intervals, but I cant seem to figure it out.

    As an example Cell (G5) has a Aux time of 00:35:35 seconds, with all options I have tried this figure just gets placed as a whole in one cell. However, I need it to be presented in the 4 corresponding Cells as depicted in the attachement. Namely (J5:M5)

    Thanks Punnam for replying

  7. #7
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Time Used per Interval

    in j4
    =IF(AND($C4<K$2,$H4>J$2),MIN(K$2,$H4)-MAX(J$2,$C4),0)

    if it starts before the period ends and ends after the period starts, there should be some time in the period

    this being the case you want the minimum of the end time and the end of the period, and tax from this the maximum of the start time and the start of the period

  8. #8
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Time Used per Interval

    Davsth ,
    I am not able to get the logic but its work great JOB.

    Murtadau_Gabier
    I Hope you got it cleared

    Punnam

  9. #9
    Registered User
    Join Date
    09-23-2010
    Location
    Cape Town, South Africa
    MS-Off Ver
    2007
    Posts
    14

    Re: Time Used per Interval

    Thank you Davsth for your assistance.
    Last edited by Murtadau_Gabier; 04-29-2019 at 07:30 AM.

+ 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. Replies: 11
    Last Post: 10-24-2016, 08:12 PM
  2. Please help on time interval chart
    By pcmystery in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-19-2015, 11:10 AM
  3. COUNTIF time interval falls between set of time ranges
    By eyoonbbj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-15-2014, 01:44 PM
  4. Replies: 1
    Last Post: 04-29-2014, 04:42 AM
  5. please help with Time interval
    By gow75 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-10-2013, 04:54 PM
  6. Replies: 0
    Last Post: 04-23-2012, 10:06 AM
  7. The best way to specify time interval ...
    By nicgendron in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-16-2005, 11:05 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