See solution in other versions of Excel:
Question: In Microsoft Excel 2010, how do I hide empty cells in a pivot table?
Answer: In the pivot table below, we want to hide the Order ID value that is blank.
Click on the arrow to the right of the Order ID drop down box and un-select the checkbox next to the blank value. Then click on the OK button.
Now whenever the OrderID is blank, the data will be hidden in the pivot table.
(scroll to see more)