+ Reply to Thread
Results 1 to 7 of 7

Can the name of a series data for a chart be changed more easily?

  1. #1
    Forum Contributor
    Join Date
    01-15-2013
    Location
    London
    MS-Off Ver
    Excel 2003, 2007, 2010, 2019
    Posts
    436

    Can the name of a series data for a chart be changed more easily?

    Hello, I just got a question about how to easily change the name of a series data for my chart.

    If I click the line of the line chart, it shows the function as: =SERIES("P/E Trailing",'PE Analysis.xls'!DateRangeRP,'PE Analysis.xls'!PEtrl1000Chart,1).

    Here, PEtrl1000Chart is the name of a named range. I need to plot 1 chart for each of the 100 named ranges (100 charts!). The 100 named ranges is like PEtrlxxxxChart. Here, xxxx is the contents that need to be changed. I can change xxxx manually, but this will take much manual work. Is there a way that the xxxx can be replaced based on the text value of cell A1? So if I input 1000 in cell A1, then the chart will be automatically updated.

    Thanks a lot for help.

  2. #2
    Forum Contributor
    Join Date
    01-15-2013
    Location
    London
    MS-Off Ver
    Excel 2003, 2007, 2010, 2019
    Posts
    436

    Re: Can the name of a series data for a chart be changed more easily?


  3. #3
    Forum Contributor
    Join Date
    01-15-2013
    Location
    London
    MS-Off Ver
    Excel 2003, 2007, 2010, 2019
    Posts
    436

    Re: Can the name of a series data for a chart be changed more easily?


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

    Re: Can the name of a series data for a chart be changed more easily?

    it's not clear to mean whether you want to update a 100 charts or have 1 chart that will display 1 of 100 named ranges.
    Cheers
    Andy
    www.andypope.info

  5. #5
    Forum Contributor
    Join Date
    01-15-2013
    Location
    London
    MS-Off Ver
    Excel 2003, 2007, 2010, 2019
    Posts
    436

    Re: Can the name of a series data for a chart be changed more easily?

    Hi Andy, I just need a single chart to display ONLY ONE of the named ranges.

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

    Re: Can the name of a series data for a chart be changed more easily?

    You can use another named range that uses the INDIRECT function to reference required named range.

    In this simple example DATA01, DATA02 and DATA03 are named ranges. The chart uses USEDATA which is named range using INDIRECT.

    Change G2 to update chart
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    01-15-2013
    Location
    London
    MS-Off Ver
    Excel 2003, 2007, 2010, 2019
    Posts
    436

    Re: Can the name of a series data for a chart be changed more easily?

    Hi Andy, your example worked perfectly. I very appreciate your help for this case

    Hope the example is useful for others as well.

+ 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. Replies: 4
    Last Post: 08-31-2012, 08:02 AM
  2. Chart not updating when data changed
    By Thomas-W in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 07-20-2011, 01:36 PM
  3. Excel 2007 : Moving chart data to worksheet easily
    By smudgepost in forum Excel General
    Replies: 1
    Last Post: 07-06-2010, 07:37 AM
  4. Cross worksheet references cannot be easily changed
    By maintchief in forum Excel General
    Replies: 0
    Last Post: 11-25-2005, 11:35 PM
  5. [SOLVED] chart data series -- plot a table as a single series
    By hjc in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 09-20-2005, 01:05 PM

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