+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : Dynamic Chart Data Range

  1. #1
    Registered User
    Join Date
    11-04-2010
    Location
    Cardiff
    MS-Off Ver
    Excel 2007
    Posts
    6

    Post Dynamic Chart Data Range

    Hi
    I hoping someone can help me please.

    I have a spreadsheet that contains:
    column AA has a ranking integer from 1 to 100,
    column AB has a list of percentages,
    columns AC to AL hold up to one percentage each dependent on whether the top row is populated with a name (if it's not populated there is no value below) brought through from Sheet 2.

    I've produced a Column chart that shows the value for each name against the entire population (each series is a different name).

    To define the Chart Range I've defined a NAME as =OFFSET('Sheet1'!$AA$1,0,0,COUNTA('Sheet1'!$A$2:$A$101),(COUNTA(Sheet2!$C$2:$C$11)+2))
    where Sheet 2 contains the list of names that I wish to display.

    When I enter the NAME into Chart Data Range it correctly identifies how many columns of data to use and produces the graph.

    However, if I thin add another Name in the graph doesn't change as the Data Range has changed to a spreadsheet reference.

    How can I stop this happening and the graph automatically identify how many data cloumns to use?

    Hopefully you understand my query!

    Thanks

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

    Re: Dynamic Chart Data Range

    You have to define a named range for each series.
    If you define a named range as the source range it will be converted to a static reference.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    11-04-2010
    Location
    Cardiff
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Dynamic Chart Data Range

    Much appreciated!
    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