+ Reply to Thread
Results 1 to 1 of 1

Dynamic Chart - How to exclude data tin blank cells

  1. #1
    Registered User
    Join Date
    05-24-2021
    Location
    USA
    MS-Off Ver
    2007
    Posts
    1

    Dynamic Chart - How to exclude data tin blank cells

    I am working on updating an excel file to make it simpler and more user friendly for users that are not proficient in excel. This spreadsheet is used to track customer returns each year for each customer. The intent is for the chart to show the number of returns for each customer that had returns, but not display the customers that had zero returns.

    So, I want to make a dynamic chart that will automatically update when new data is input into the spreadsheet. I created a chart and used the name manager to create names that are used as my data in the chart. Currently the chart works, but only if the customers with blank data (zero returns) fall at the end of the list. If a customer with zero returns is in the middle of the data list, it will plot this customer showing zero returns, but I want it to completely remove this customer from the chart. Also, when a customer with zero returns falls in the middle of the data, it will remove the last customer from the chart.

    I attached an example file. There is much more to this file, but I stripped everything out not pertinent to my question and changed names to A, B, C... I want the user to be able to input new data into the "input data" sheet within the blue borders, then have the chart on the following sheet automatically updated. I want customers A through J to always be listed on the "input data" sheet whether they had returns or not, as these are our top customers who often have a return from year to year (but sometimes don't). Then I left some blank columns so the user can add a new customer in case they have a return going into the future. As you can see, customer "D" had zero returns, so I want them to be removed from the chart completely. Also, you will notice that customer "J" was removed from the chart, when they should be showing 2 returns. I believe my issue is with the formula used for the name "Combined", but I haven't been able to wrap my head around it to figure out a correct formula. The formula currently used is:

    ='Input Data'!$B$48:INDEX('Input Data'!$B$48:$O$48,COUNT('Input Data'!$B$48:$O$48))

    If someone could shed some light on this issue for me, it would be very appreciated.
    Attached Files Attached Files

+ 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. [SOLVED] Dynamic Chart to Exclude Blank Cells (with formulas)
    By sherylt13 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 03-20-2019, 08:41 AM
  2. [SOLVED] Pivot Table / Chart Ignore / Exclude blank "" cells created using IF formula
    By randomreflex in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 05-23-2018, 08:59 AM
  3. Transpose and Manipulate Data - Exclude Blank cells
    By Snowflake68 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-21-2016, 02:21 PM
  4. [SOLVED] Dynamic Chart ranges are picking the blank cells as these contain formula
    By controlfreak in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 03-28-2014, 04:15 AM
  5. Replies: 7
    Last Post: 11-24-2010, 05:35 AM
  6. Exclude Blank Cells from chart legend
    By jamphan in forum Excel General
    Replies: 1
    Last Post: 10-19-2010, 05:25 AM
  7. Counting data in non blank cells and exclude certain data from the count
    By JohnG73 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-04-2007, 04:08 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