+ Reply to Thread
Results 1 to 10 of 10

Exclude 0 Values from Chart

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    07-31-2012
    Location
    Derby, UK
    MS-Off Ver
    Excel 2013
    Posts
    138

    Exclude 0 Values from Chart

    Hi,

    I have a pivot table that is summarised in a nice dynamic chart. I have a range of values in this chart that have a lot of 0's in it. Is it possible for either the pivot table or the graph to exclude these 0's so it only shows the figures greater than 0?

    Screen shot attached should help show what I mean. The little circles are the graph are linked to column 'Sum of RS eBay Listings'.

    Many thanks,

    Ben

    ee.jpg

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Exclude 0 Values from Chart

    1 way to stop zero's from appearing on a chart, is to construct a formula that produces N/A for the answer, instead of 0
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Contributor
    Join Date
    07-31-2012
    Location
    Derby, UK
    MS-Off Ver
    Excel 2013
    Posts
    138

    Re: Exclude 0 Values from Chart

    Hi,

    This is the formula I'm currently using - =IFERROR(1/(1/SUMIF(Table1[Date],G107,LISTINGS!D:D)),"Figure not obtained"). How would I get it to display no results as N/A?

    Ben

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Exclude 0 Values from Chart

    Change "Figure not obtained" to NA() or "#n/a"
    Last edited by shg; 12-01-2013 at 07:59 PM.
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Exclude 0 Values from Chart

    Thanks for the assist shg

  6. #6
    Forum Contributor
    Join Date
    07-31-2012
    Location
    Derby, UK
    MS-Off Ver
    Excel 2013
    Posts
    138

    Re: Exclude 0 Values from Chart

    Hi,

    Thanks for the tip/s. However it doesn't seem to have worked - when I input #n/a it updated but when refreshing the pivot table it still displays the values as zero.

    Thanks,
    Ben

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Exclude 0 Values from Chart

    That has to be in the formula that gets pulled into the PT

  8. #8
    Forum Contributor
    Join Date
    07-31-2012
    Location
    Derby, UK
    MS-Off Ver
    Excel 2013
    Posts
    138

    Re: Exclude 0 Values from Chart

    It is, the formula is now - =IFERROR(1/(1/SUMIF(Table1[Date],G37,LISTINGS!D:D)),"#n/a")

    This is in the table that the pivot table is linked to.

    Ben

  9. #9
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Exclude 0 Values from Chart

    Can you upload a sample workbook?

  10. #10
    Forum Contributor
    Join Date
    07-31-2012
    Location
    Derby, UK
    MS-Off Ver
    Excel 2013
    Posts
    138

    Re: Exclude 0 Values from Chart

    eBay Stats EXAMPLE.xlsx

    Hi,

    See attached.

    Thanks,
    Ben

+ 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] Exclude one data series from scatter chart legend (but not from the chart)
    By JayUSA in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 05-29-2012, 05:24 PM
  2. [SOLVED] Adjust range of chart to exclude zero values
    By daved2424 in forum Excel General
    Replies: 5
    Last Post: 04-29-2012, 08:58 AM
  3. exclude zero value from being displayed in chart
    By bocean in forum Excel General
    Replies: 2
    Last Post: 03-19-2010, 10:15 AM
  4. Exclude zero values from chart
    By tek9step in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 06-17-2009, 08:44 AM
  5. How to exclude 0 value from a chart
    By feejo in forum Excel Charting & Pivots
    Replies: 8
    Last Post: 11-18-2007, 08:27 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