Remove (blank) from pivot table

Anonymous
2011-02-25T12:16:56+00:00

Hi,

My source data has empty cells.  When I PT this data - the PT shows "(blank)" for the empty cells.  How can I keep the cells "empty" in the PT.  I do not want to manually filter and uncheck (blank) as this removes other data which is needed.

TIA,

PS

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2011-02-25T14:15:06+00:00

Excel 2007/2010 PivotTable

Show blank cell instead of (blank)

in RowField/ColumnField item labels.

http://c3017412.r12.cf0.rackcdn.com/01_23_11.xlsx

If you get *.zip, don't unzip, just rename *.xlsx

Was this answer helpful?

200+ people found this answer helpful.
0 comments No comments

46 additional answers

Sort by: Most helpful
  1. Anonymous
    2017-02-02T15:14:49+00:00

    Clever. Solve the problem in the data not the pivot.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2015-12-14T16:37:54+00:00

    Right-click in your PT

    Go to Filter > Label Filters

    Select "does not equal" from the dropdown

    Click OK

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2014-10-26T13:42:38+00:00

    Hi,

    I figured a workaround which you might be interested in. In essence it involves masking the string (blank) with white color fonts using conditional formating. Needs to be done one time only upon the whole sheet or PT or range of cells.

    1. select the whole sheet/ table/ range of cells
    2. select [Conditional Formatting] -> [New Formatting Rule]
    3. in the [New Formatting Rule] dialog window

    select [Format only cells that contain]

    under the [Format only cells with:] select [Cell Value] from the drop-down list - actually it is selected by default ; select [equal to] from the drop-down list next; type (blank) in the third box 

    1. then press the [Format] button to set the format
    2. it opens another dialog window about formatting
    3. select [Fonts] tab (it is the default one)
    4. select white color for fonts
    5. OK and OK again and you've done it :)

    In this way, (blank) will not visually annoy you and the same time you don't mess with cells contents.

    Hope to have been of help

    *** Email address is removed for privacy ***

    Thank you!!! This worked even after a refresh!!!  I tweaked it a bit because I am using multiple colors for my lines.  I did Conditional Formatting - New Rule - Format Only cells that contain - Cell Value - Equal To - ="(blank)" - Format - Number - Custom

    • ;;;  - OK  [(that was three semi-colons]

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2013-03-22T13:39:58+00:00

    Dear Ashish,

    In February 2012 on the Microsoft Community site, you posted a fix to hide any

    ”(blank)”s in a pivot table report by using Find & Replace with an apostrophe as the Replace character.

    Does that effectively format a cell as a text cell with an empty string so that Excel is tricked into thinking the cell is not empty or does the apostrophe serve a different function?

    In other words, why an apostrophe and how does it work?

    Thank you in advance for any reply you are willing to send me.

    Kind regards,

    Peter Cloutier, Geneva, Switzerland

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments