+ Reply to Thread
Results 1 to 2 of 2

Prevent chart from change when changing filtering options in the table

  1. #1
    Registered User
    Join Date
    04-16-2010
    Location
    Nairobi
    MS-Off Ver
    Office 95
    Posts
    23

    Question Prevent chart from change when changing filtering options in the table

    Dear all


    I have run into a very silly issue with Excel and I am not able to sort it out. I have a huge table with 100+ countries and the appropriate regions (group of countries). I need to create a bar chart for each specific region (e.g. South America, Eastern Europe, etc.). I therefore created a chart after I filtered the table to show only the e.g. South American countries. However, when I cancel that filter, the chart takes all the rows in between the ones, which are relevant to my particular case...! This is very annoying and I have no idea how to solve it other than manually add data series for each country for each chart, which would take me more than a day of work.

    I know that I can filter the table, copy it, paste it to another sheet and create chart there, but I need to have everything dynamic, as I might need to change the values later... It would be therefore ideal, if I can keep everything in a single table.

    Thanks a lot for all your help!

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

    Re: Prevent chart from change when changing filtering options in the table

    The only way to have a chart report a section of a table of data is to set the range used by the series to the appropriate cells. You can do this manually, with code or with named ranges. Assuming the ranges are contiguous.

    The chart works when you filter the table as the Plot Visible cells only is set. Once you unfilter the table all cells are used.
    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)

Similar Threads

  1. Pivot table filtering options
    By mwwoodm in forum Excel General
    Replies: 0
    Last Post: 12-06-2011, 12:00 PM
  2. [SOLVED] prevent chart values from changing
    By i compute in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-11-2006, 03:45 PM
  3. prevent chart values from changing
    By i compute in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-11-2006, 01:50 PM
  4. Prevent user changing pivot chart layout
    By Jessica in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-14-2006, 07:30 PM
  5. [SOLVED] Prevent users from changing a pivot table
    By Popeye in forum Excel - New Users/Basics
    Replies: 0
    Last Post: 04-08-2006, 09:25 AM

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