+ Reply to Thread
Results 1 to 3 of 3

Reference a range of values within a SeriesCollection, or use SeriesCollection in a range?

  1. #1
    Registered User
    Join Date
    12-22-2011
    Location
    Washington, United States
    MS-Off Ver
    Excel 2003
    Posts
    15

    Reference a range of values within a SeriesCollection, or use SeriesCollection in a range?

    I'm trying to use a LinEst worksheet function in a calculation where the calculation is based off of the last 12 points in a chart from the previous week (so -1 to -13 from the last point). I want to compare the previous LinEst to the new LinEst and see if there was a positive or negative change when the new data was added.

    I know a LinEst function can easily be programmed if I reference the actual data instead of a SeriesCollection, but I really want to use the SeriesCollection so all of my chart codes can reference the same procedure. I have 8 charts and they all do the same thing but with different data, so I gave all the series the same names across the charts and reference those series names in the reusable procedures.

    Is it possible to reference a range of values within a SeriesCollection or use a Range and instead of Cells put SeriesCollection point numbers?



    Please Login or Register  to view this content.




    Thanks!!
    Last edited by Cutter; 07-25-2012 at 08:50 PM. Reason: Added code tags

  2. #2
    Registered User
    Join Date
    12-22-2011
    Location
    Washington, United States
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: Reference a range of values within a SeriesCollection, or use SeriesCollection in a ra

    I still need help with this. I found a file that should utilize what I'm asking because it uses LinEst with variable start and end points, but its extremely complex and I'm having trouble locating the specific code. Here's the file if anyone else is willing to search through it, perhaps for their own skills?

    Interactive_Regression.xls

  3. #3
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Reference a range of values within a SeriesCollection, or use SeriesCollection in a ra

    @ shadyferret

    Please notice that code tags have been added to your post(s). The forum rules require them so please keep that in mind and add them yourself whenever showing code in any of your future posts. To see instructions for applying them, click on the Forum Rules button at top of the page and read Rule #3.
    Thanks.

+ 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