I didn't read this at first because the subject line specified "pivot table". My son tells me I should learn pivot tables, but I don't know much about them yet.
But I just took a look at the question, and it sounds like pivot tables may not be relevant. In normal Excel—and I don't see why pivot tables would necessarily be any different—there are two usual ways to do what you're asking:
1) If you want to do it all the time, you can set one of the Options. I forget what it looks like in earlier versions of Excel, but in 2010 it's under Advanced options and it's labeled "Show a zero in cells that have a zero value". You can set that by worksheet, so that one worksheet displays zeroes and another displays blanks.
2) If you want to control it by particular columns or cells, you can do it with a custom format. Up 'til now you've set the format as a Percentage; now go to the same Format-Cells dialog and select the Custom category. It probably shows a basic Percentage string, perhaps "0.0%".
That's the string that applies if the value is positive. If it's negative, zero or a character string, this cell will be formatted using the default rules. In order to override the choice made for a zero value, you have to change the string to something like "0.0%;-0.0%;"
The first value (before the first semicolon) is what Excel will use for positive values. The second is how it will display negative percentages (if you have any). The third—but look, there isn't a third; there's just a semicolon, with nothing after it. And that's how Excel will handle it; it'll display nothing.
Custom formatting strings give you a lot of power over how numbers are displayed; I think they're well worth reading about and experimenting with.
|