+ Reply to Thread
Results 1 to 3 of 3

Excel Line Chart: Ignore blanks in data and in pivot table

  1. #1
    Registered User
    Join Date
    02-08-2017
    Location
    New Jersey
    MS-Off Ver
    Office 365
    Posts
    12

    Excel Line Chart: Ignore blanks in data and in pivot table

    Hello Experts,

    I have a table of data that I am using to generate a line chart and a pivot table. To keep it simple, let's just focus on 1 column of data in this table. In this column, there is a combination of blank cells and cells with numeric values. When I plot this, cells that are blank get plotted as 0, but I don't want that behavior. I've changed the blank cells to #N/A and this fixes the chart problem. #N/A does not get plotted in the chart. But then comes the problem with the pivot table. When the field is displayed in the pivot table, if any value in the column is #N/A, then #N/A is displayed in the pivot table.
    How can I "correct" my data such that only non-blank cells are plotted and #N/A does not show in the pivot table? Thanks in advance for any help you can offer.

    TMc

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: Excel Line Chart: Ignore blanks in data and in pivot table

    You can probably leave the table as it was, so that it generates numbers and blanks/zeros, and use this as the source for your pivot table. You can then generate a subsidiary table where the blanks are either excluded or converted to #N/A, and use this as the source for your graph.

    It's difficult to be more specific without seeing your data, but hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    02-08-2017
    Location
    New Jersey
    MS-Off Ver
    Office 365
    Posts
    12

    Re: Excel Line Chart: Ignore blanks in data and in pivot table

    Thank you Pete. Your idea will do the trick.

+ 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. Excel Charts / Pivot chart Ignore Old Data
    By AusKee in forum Excel General
    Replies: 1
    Last Post: 07-03-2017, 01:47 AM
  2. Chart only data with values in Table (ignore blanks)
    By Akshay in forum Excel Charting & Pivots
    Replies: 9
    Last Post: 02-09-2017, 06:50 AM
  3. Remove Blanks/0s from Pivot Table Chart
    By dksodhi in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 08-24-2013, 09:32 AM
  4. Powerpivot Calculated Measure to remove blanks from pivot table/chart
    By hbusche in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 07-17-2013, 01:23 PM
  5. Replies: 3
    Last Post: 05-08-2013, 07:16 AM
  6. Line chart should ignore blank data values
    By kenelder in forum Excel General
    Replies: 2
    Last Post: 06-10-2011, 03:50 AM
  7. Get Pivot Table To Ignore Blanks
    By StevenAFC in forum Excel General
    Replies: 2
    Last Post: 09-11-2007, 05:06 AM

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