+ Reply to Thread
Results 1 to 2 of 2

Cannot Create Chart with Moving Average Trendline Straight from Data! PLEASE HELP!

  1. #1
    Registered User
    Join Date
    08-21-2012
    Location
    New York, NY
    MS-Off Ver
    Excel 2003
    Posts
    1

    Cannot Create Chart with Moving Average Trendline Straight from Data! PLEASE HELP!

    Basically, I have some data to correspond to X-values and Y-values (only 8 rows of data), and just want to create a chart that does the following:

    1) Graphs the moving average trendlines of the data with Period = 2
    2) Does so in a way that the trendlines appear in the legend and are color coded (as would automatically occur if I were to just add series).

    PLEASE HELP! I'd be so so so so appreciative.

    Perhaps I can do something like:

    ActiveSheet.Shapes.AddChart.Select
    ActiveChart.ChartType = xlLine

    but have the "xlLine" somehow display trend lines.

    Thanks in advance everyone and thanks for your time reading this.

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

    Re: Cannot Create Chart with Moving Average Trendline Straight from Data! PLEASE HELP!

    tweaked macro recorded code.

    Please Login or Register  to view this content.
    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)

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