+ Reply to Thread
Results 1 to 4 of 4

Calculate average time elapsed for files in process

  1. #1
    Registered User
    Join Date
    07-22-2022
    Location
    Canada
    MS-Off Ver
    365
    Posts
    10

    Calculate average time elapsed for files in process

    Hello everyone,

    A user in another thread was able to help me organize my data in a useful way for this data set but now I am stuck on the calculation. We are trying to analyze three things in the activities logged on files between the time the file is submitted by a user and the time it is cleared by the committee:

    1. How many days elapse between each individual activity
    2. How many total days elapse between triage of the file (the activity associated with receiving the file) and a clearance being issued
    3. The average of both of these

    My anonymized dataset includes the data as we are able to export it from the database (first tab), the data reorganized using Unpivot to put each activity on its own line (second tab), a Pivot table organizing the activities so that they show up as a list grouped by each file number (third tab), and the ultimate end point I am trying to get to (fourth tab). I have not been able to find any functions in the Pivot tables that allow me to calculate on dates and am grateful for any ideas the forum can offer. I don't mind some manual work being involved as this report will only be produced annually, but I am hoping to make it as streamlined as I can, especially since the dataset will be much larger than this sample set.

    Thanks!

    Event activities Jan 1 - June 22 - Sample Data w desired endrpt.xlsx

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,567

    Re: Calculate average time elapsed for files in process

    One way would be to add a column to the table on the Unpivot columns sheet.
    The new column (Difference) could be populated using: =IF(COUNTIFS(A$2:A2,A2)=1,0,I2-I1)
    Once the Pivot table has been refreshed so that it includes the new field, pull the Difference field into the Values area (Sum of)
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Registered User
    Join Date
    07-22-2022
    Location
    Canada
    MS-Off Ver
    365
    Posts
    10

    Re: Calculate average time elapsed for files in process

    This is amazing, thank you so much! From here I was able to use AVERAGEIF to give me an average of Total Elapsed Days in the Pivot table. Many thanks for your help!!!

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,567

    Re: Calculate average time elapsed for files in process

    You're Welcome. Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have a blessed day.

+ 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. Process Step, Elapsed Time & Volume diagram
    By DimmiD in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 10-02-2021, 11:40 PM
  2. Average Time Elapsed
    By Cannon26 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-11-2020, 09:26 AM
  3. [SOLVED] Average and Standard deviation for elapsed time
    By Buzz1126 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-29-2016, 10:47 AM
  4. Need to calculate elapsed time, but excel won't recognize the format as time.
    By sccrfraggle in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-08-2015, 10:49 PM
  5. Calculate time elapsed, excluding time not spent working
    By BREECHEEZ87 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-12-2015, 03:01 PM
  6. Replies: 2
    Last Post: 04-27-2011, 08:21 AM
  7. elapsed time average calculcations
    By relux in forum Excel General
    Replies: 6
    Last Post: 08-26-2005, 03:05 PM

Tags for this Thread

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