+ Reply to Thread
Results 1 to 2 of 2

Replace 0 with a blank cell in Pivot Table when using Calculated Filed formulas.

  1. #1
    Forum Contributor
    Join Date
    06-07-2018
    Location
    Newcastle Upon Tyne, England
    MS-Off Ver
    365
    Posts
    143

    Replace 0 with a blank cell in Pivot Table when using Calculated Filed formulas.

    I have the following formula for data suppression within a pivot table using a calculated field formula:

    =IF(Counter<5,0,MROUND(Counter,5))

    This returns a 0 for any figure less than 5, as well as rounding data to multiples of 5, which is half of what I need.

    I would like for the pivot table to leave the cells blank rather than a 0. I have tried the following which did not work:

    =IF(Counter<5,"",MROUND(Counter,5))

    Any ideas?
    TIA!

  2. #2
    Forum Contributor
    Join Date
    06-07-2018
    Location
    Newcastle Upon Tyne, England
    MS-Off Ver
    365
    Posts
    143

    Re: Replace 0 with a blank cell in Pivot Table when using Calculated Filed formulas.

    Solved by 'Format Cells', selecting custom and then typing the following:

    0;0;-;@
    Last edited by davo3286; 09-22-2022 at 10:19 AM.

+ 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. Replies: 13
    Last Post: 02-16-2019, 08:56 PM
  2. Issue with Calculated filed in Pivot Table (wrong output calculated)
    By martinrt in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 10-18-2018, 03:11 PM
  3. [SOLVED] assistance in round calculated filed in pivot table
    By JEAN1972 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 09-04-2017, 11:18 AM
  4. Using Formula to create calculated filed of pivot
    By Biplab1985 in forum Excel General
    Replies: 1
    Last Post: 08-24-2016, 10:14 AM
  5. formulas for Calculated field in Pivot table
    By wt500 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-28-2011, 06:12 AM
  6. Adding Calculated Fields/Formulas to a Pivot Table
    By SigueSigue in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-25-2011, 08:27 AM
  7. Replies: 3
    Last Post: 06-06-2006, 12:10 AM

Tags for this Thread

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