+ Reply to Thread
Results 1 to 7 of 7

Pivot table to not count zeros

  1. #1
    Registered User
    Join Date
    09-14-2016
    Location
    London
    MS-Off Ver
    2010
    Posts
    82

    Cool Pivot table to not count zeros

    Hi,
    I have a pivot table with multiple columns. In these columns there are numeric values and zeros.

    I want to count how many numeric values there are? Does anyone know how to do this - problem is that my pivot table keeps counting zeros.

  2. #2
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: Pivot table to not count zeros

    You can hide 0 with blank cell through PT option. Right click on PT and click on Pivot Table option->Layout and format->Format check mark on for empty cell show and don't enter anything in blank box the ok.
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  3. #3
    Registered User
    Join Date
    09-14-2016
    Location
    London
    MS-Off Ver
    2010
    Posts
    82

    Re: Pivot table to not count zeros

    Hi Ankur,
    thank you for your input. Much appreciated. So I can understand exactly your instructions, are you advising to replace my zeros with blank cells?

  4. #4
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: Pivot table to not count zeros

    I'm thinking that you mean you have zeroes in your raw data (not your pivot table) and you don't want these counted?

  5. #5
    Forum Expert Roel Jongman's Avatar
    Join Date
    03-28-2015
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    1,483

    Re: Pivot table to not count zeros

    use a countif formula look for values greater than 0 or if you also have negative look for not zero ("<>0")

    =COUNTIF("PivotRange";">0")

  6. #6
    Registered User
    Join Date
    09-14-2016
    Location
    London
    MS-Off Ver
    2010
    Posts
    82

    Re: Pivot table to not count zeros

    Hi Kersplash,
    yes, that is exactly it.

  7. #7
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: Pivot table to not count zeros

    Quote Originally Posted by Travman1986 View Post
    Hi Kersplash,
    yes, that is exactly it.
    I would think then you need to change the zeroes to blanks in your raw data via a formula, because the pivot table will count each zero.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by kersplash; 04-23-2018 at 02:08 AM. Reason: added formula

+ 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] Pivot table won't exclude Zeros
    By tuph in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 09-14-2015, 10:23 PM
  2. Pivot Table: Zeros to Dashes
    By GreatLakesJK in forum Excel General
    Replies: 7
    Last Post: 01-28-2011, 04:16 PM
  3. Remove zeros from a Pivot table
    By Ozwilly in forum Excel General
    Replies: 1
    Last Post: 09-09-2010, 11:46 PM
  4. displaying zeros when no value in pivot table
    By markcranmer in forum Excel General
    Replies: 1
    Last Post: 05-02-2010, 11:49 AM
  5. Suppress zeros in a pivot table
    By dcgrove in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-13-2009, 05:15 PM
  6. Data in my pivot table changes to zeros
    By MyrtlePeacock in forum Excel General
    Replies: 3
    Last Post: 01-05-2006, 10:30 AM
  7. Pivot Table and Zeros
    By Celeda in forum Excel General
    Replies: 0
    Last Post: 01-01-2005, 04:58 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