+ Reply to Thread
Results 1 to 2 of 2

Average daily data by week

  1. #1
    Registered User
    Join Date
    11-14-2013
    Location
    Los Angeles
    MS-Off Ver
    Excel 2007
    Posts
    13

    Average daily data by week

    I have a script that downloads daily stock data. I would like to average the data weekly and
    chart that in addition to the daily data. Use of weeknum is inappropriate because I may or may not have more than
    one years data. Since this data is reloaded frequently, I believe the use of a pivot table
    is also inappropriate.
    Does anyone have a code fragment that will resolve this issue ?

  2. #2
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Re: Average daily data by week

    A pivot table probably is the best option - they don't take long to refresh after data has reloaded.

    If you are set against a pivot table you could try an averageif (or averageifs) with the date as a criteria.

+ 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. Average and Median by week and month from daily data
    By jjj444 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-06-2013, 11:01 PM
  2. Replies: 6
    Last Post: 06-09-2011, 09:00 AM
  3. Daily Average grouped by Julian Week
    By XANADU79 in forum Excel General
    Replies: 2
    Last Post: 06-07-2011, 10:28 PM
  4. Finding the last value in a week from daily data
    By borabora12 in forum Excel General
    Replies: 6
    Last Post: 04-20-2009, 05:53 PM
  5. Finding highest value in a week from daily data
    By borabora12 in forum Excel General
    Replies: 5
    Last Post: 04-20-2009, 04:17 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