Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: A chart source data challenge.....

  1. #1
    Board Regular
    Join Date
    Mar 2002
    Posts
    51
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    The data source expands with 4 values pr month, that’s 48 values pr year. My boss want a chart limited to the last max 12 values. It would be no problem if I he only wanted the last 12, BUT he also wants the opportunity to choose how many values should be displayed (but still limited to last max 12 values) each time!

    The data source look like
    Text (A1) – value (A2) – value (A3) – value (A3) - etc

    Do you know how this could be done?




  2. #2
    MrExcel MVP Mark O'Brien's Avatar
    Join Date
    Feb 2002
    Location
    Columbus, OH, USA
    Posts
    3,530
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    It sounds like you're going to have to mess around with named ranges.

    Have a look at the chart section of Stephen Bullen's site to see if anything there could be applied to what you want. (Your description doesn't make a whole lot of sense to me I'm afraid)

    http://www.bmsltd.co.uk/Excel/Default.htm

  3. #3
    Board Regular
    Join Date
    Mar 2002
    Posts
    51
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Thanks for your reply Mark.

    The site you mentioned contains many good ideas, but none of them did solve my problem.

    BUT, I did find a another site with excel tips where my problem was mentioned.

    What I realy was looking for was a dynamic chart that plots only the lates x datavalues. You can read more about it at

    http://www.erlandsendata.no/english/...ads/charts.htm


    The basic is:
    $A$1 = number of values shown

    MonthCount=IF(COUNT(Sheet1!$A:$A)<12,COUNT Sheet1!$A:$A),$A$1)

    DataSerie1=OFFSET(Sheet1!$B$1,COUNTA(Sheet1!$A:$A)-MonthCount,0,MonthCount,1)

    =OFFSET(Sheet1!$A$1;COUNTA(Sheet1!$A:$A)-Sheet1!$A$1;0;Sheet1!$A$1;1)


    Thx

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •