+ Reply to Thread
Results 1 to 4 of 4

Graphing a daily average

  1. #1
    Registered User
    Join Date
    07-31-2008
    Location
    Portland
    MS-Off Ver
    2007
    Posts
    8

    Graphing a daily average

    So I'm trying to set up a chart that looks at what the daily average is for a number of entries.

    My data looks something like this:

    Please Login or Register  to view this content.
    Ideally what I want is to have the date along the x-axis and then one data point for that day, showing the average value of the day, probably in a column graph.

    I know I could go and calculate each day by hand and then put that value into the graph, but I'd like to know if there is a formula or a feature I'm overlooking that might be able to do this for me.

    Thanks for your help!

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Graphing a daily average

    Hi,

    First you need to get your data into two columns A & B. A date column and value column. If the example data is in a single column then use Data Text to Columns to Parse it. Then make sure that the date column contains proper Excel date numbers.

    Now use Data Filter Advanced Unique to extract a unique list of dates in another column, say column D.

    Now in E1 enter with Ctrl-Shift-Enter

    Please Login or Register  to view this content.
    Adjust the row ref 100 to suit your data and then copy this down as necessary.

    Regards
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    07-31-2008
    Location
    Portland
    MS-Off Ver
    2007
    Posts
    8

    Re: Graphing a daily average

    Ok, the data is already in two different columns. I apologize for not making that more clear in my OP.

    One other point I should make clear is that row 1 is used as a heading row and is frozen in this sheet.

    I was able to extract the unique dates, but I'm having trouble making the formula work. Maybe because of the frozen row? I tried altering the data in the formula to try to make it work, but that didn't do anything either.

    I should also point out that I'm looking for a solution that doesn't require a very intensive process each time new data is added to the sheet. Data gets added every day, so repeating the process of filtering out unique dates each day and redoing the formula and the chart could prove to be a bit cumbersome.

    Perhaps the solution I'm looking for isn't possible? I really have no idea... lol

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,483

    Re: Graphing a daily average

    Perfect for a pivot table and chart
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

+ 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