+ Reply to Thread
Results 1 to 7 of 7

Extracting the average time to complete each task over a specified date range

  1. #1
    Registered User
    Join Date
    09-14-2010
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    30

    Extracting the average time to complete each task over a specified date range

    Hi everyone,

    I have a situation in which there are –
    • a series of different tasks in column A
    • dates on which those taskss were completed in column B – as this spreadsheet would be kept over the course of the year, that date could be in any month.
    • the length of time it took for that task to occur – which could range from 2 or 3 days up.

    I'd like to be able to examine how we performed, on average, for each of the activities during a stated date range which will usually be a month, but, I guess could be a different period.

    For example, in January, I'd like to show the average of days for simple activities completed in the month and the average of days for complex activities completed. It's no problem if the time taken was spread over a couple of months – I'm just looking at the average for each completed activity.

    I've attached a sample spreadsheet.Sample.xlsx

    Any ideas?

    I prefer not to use VBA programming as it's a work application and they get a little dickie about that.

    Thanks in advance,

    Tim
    Last edited by snappytim; 01-27-2013 at 05:42 AM. Reason: Clarity

  2. #2
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: Extracting the average time to complete each task over a specified date range

    Tim,

    I think this is what you mean.

    The start and end date can be amended to alter the date range.
    Attached Files Attached Files
    If I've been of help, please hit the star

  3. #3
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: Extracting the average time to complete each task over a specified date range

    Sorry, wrong example version attached originally.

    This one uses AVERAGEIFS to do the same thing.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    09-14-2010
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: Extracting the average time to complete each task over a specified date range

    Hi Spencer101,

    It does a lot of what I want but doesn't take into account the date range. For example, if I change the dates in column G, the answer doesn't change.

    To this Excel Newby, it seems to me that it is averaging each of the categories of task irrespective of when they were completed.

    Sorry to be critical because I really appreciate the help that members at this forum have given me.

    Is it possible to make an adjustment to the formula so that the date range in column G is taken into account?

    Snappy Tim

  5. #5
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: Extracting the average time to complete each task over a specified date range

    Apologies Tim, my fault entirely. In my test version I'd taken tht into account.

    I'm replying from an ipad with no spreadsheet access so this formula may need a little tweaking to get the date cells right.

    In the yellow cell to the right of 'simple task' enter the below and copy down.

    =AVERAGEIFS(C:C,A:A,F6,B:B,">="&$G$3,B:B,"<="&$G$4)

  6. #6
    Registered User
    Join Date
    09-14-2010
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: Extracting the average time to complete each task over a specified date range

    Replying on an iPad – with no spreadsheet access! That's real commitment. Thanks

    I'll give it a try.

  7. #7
    Registered User
    Join Date
    09-14-2010
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    30

    Smile Re: Extracting the average time to complete each task over a specified date range

    Hi Spencer101,

    and it works! Sorry if it sounds like I may disbeliever – it's just incredible you were able to put that together in your head.

    Thanks so much. That's wonderful.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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