+ Reply to Thread
Results 1 to 3 of 3

Ignoring Values of Zero in a Pie Chart

  1. #1
    Registered User
    Join Date
    09-18-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    46

    Ignoring Values of Zero in a Pie Chart

    Is it possible to create a dynamic pie chart that will ignore a zero amount in the source data? Our chart is to show a breakdown of monthly sales by department and sometimes a given department may have sales in a month and sometimes it may not. We would like the chart to ignore any $0 amount instead of putting a tiny slice in the pie chart with a $- next to it.

    Thanks!

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Ignoring Values of Zero in a Pie Chart

    create another series using Na() instead of 0 simply like if(b2=0,na(),b2) and use that see attached
    Attached Files Attached Files
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    09-18-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    46

    Re: Ignoring Values of Zero in a Pie Chart

    Exactly what I needed! Thanks!

+ 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] Ignoring Null Values when Plotting an Excel 2003 Bar Chart
    By molson1973 in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 02-18-2014, 06:11 AM
  2. Replies: 12
    Last Post: 09-04-2013, 03:55 PM
  3. Replies: 2
    Last Post: 09-26-2012, 09:48 AM
  4. Excel 2007 : Ignoring zero values on a pie chart
    By qaliq in forum Excel General
    Replies: 2
    Last Post: 02-13-2012, 08:21 AM
  5. Ignoring Errors in Chart
    By Hoffhines in forum Excel General
    Replies: 7
    Last Post: 05-09-2008, 10:02 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