+ Reply to Thread
Results 1 to 4 of 4

Line Graph from Average figure on a given date

  1. #1
    Registered User
    Join Date
    12-01-2010
    Location
    Martlesham, England
    MS-Off Ver
    Excel 2003
    Posts
    4

    Line Graph from Average figure on a given date

    Hi,

    This is a complicated one which im stuggling to get my head around. Will post some data below to help.

    I require a graph that logs the average detection delay over a period, previous week, month etc... but the solution also should work if i add new dates to the spreadsheet, and update the 'previous week' graph.
    I have a formula to calculate the detection delay, but i cant work out how to average the detection delay on the report date and allow for new data, and update the graphs!
    Not a problem if this needs to be clarified!

    Good Luck. Help is appreciated as always

    Example data

    Report date Start Detect Detection Delay

    23-Nov-10 22/11/2010 12:03 22/11/2010 12:04 00:01
    23-Nov-10 23/11/2010 15:13 23/11/2010 15:22 00:09
    23-Nov-10 23/11/2010 13:23 23/11/2010 13:25 00:02
    23-Nov-10 23/11/2010 09:58 23/11/2010 10:02 00:04
    23-Nov-10 23/11/2010 15:48 23/11/2010 16:48 01:00
    24-Nov-10 24/11/2010 05:00 24/11/2010 05:54 00:54
    24-Nov-10 24/11/2010 06:00 24/11/2010 06:01 00:01
    24-Nov-10 23/11/2010 21:48 24/11/2010 08:33 10:45
    24-Nov-10 24/11/2010 09:15 24/11/2010 09:15 00:00
    24-Nov-10 24/11/2010 15:08 24/11/2010 15:08 00:00
    25-Nov-10 25/11/2010 03:57 25/11/2010 04:30 00:33
    25-Nov-10 24/11/2010 20:00 24/11/2010 20:02 00:02
    25-Nov-10 25/11/2010 14:35 25/11/2010 14:36 00:01
    25-Nov-10 24/11/2010 18:29 25/11/2010 09:58 15:29
    25-Nov-10 25/11/2010 13:20 25/11/2010 13:25 00:05
    26-Nov-10 26/11/2010 03:37 26/11/2010 04:19 00:42
    26-Nov-10 26/11/2010 10:14 26/11/2010 10:16 00:02
    26-Nov-10 26/11/2010 08:59 26/11/2010 09:05 00:06
    26-Nov-10 26/11/2010 16:13 26/11/2010 16:16 00:03
    27-Nov-10 27/11/2010 06:35 27/11/2010 06:37 00:02
    28-Nov-10 27/11/2010 23:20 27/11/2010 23:20 00:00
    28-Nov-10 28/11/2010 07:50 28/11/2010 07:54 00:04
    28-Nov-10 28/11/2010 08:01 28/11/2010 08:13 00:12
    28-Nov-10 28/11/2010 09:50 28/11/2010 09:53 00:03

  2. #2
    Registered User
    Join Date
    03-18-2004
    Location
    Sheffield
    MS-Off Ver
    Excel, Access, 2007
    Posts
    42

    Re: Line Graph from Average figure on a given date

    You have included phone numbers in your example data which will make graphing it rather difficult! (i think)
    I count on Excel for everything

  3. #3
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,013

    Re: Line Graph from Average figure on a given date

    assuming data in colums a-D

    you can just =average(D2:D65536)
    blanks are ignored!

    i would recommend using as few rows in the formula as is practical, if 2000 is better given the data example 5 per day is about max so 365*5 = 1800 data lines for a full year! (=average(D2:D2000))
    Regards
    Darren

    Update 12-Nov-2010 Still job hunting!

    If you are happy with the results, please add to our reputation by clicking the blue scales icon in the blue bar of the post.

    Learn something new each day, Embrace change do not fear it, evolve and do not become extinct!


  4. #4
    Registered User
    Join Date
    12-01-2010
    Location
    Martlesham, England
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Line Graph from Average figure on a given date

    Thanks for the replies.

    There are no phone numbers in the data, so i should be ok

    I've managed to come up with a solution to average the occurences on each date rather than the whole sheet:

    =SUMIF('Incident tracker'!A:A,'Average Delay'!A4,'Incident tracker'!E:E)/COUNTIF('Incident tracker'!A:A,A4)

    Where A = Date E= Detection Delay.

    Will mark this as solved. Thanks

+ 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