Remove null columns from pivot table

Flytoohigh

New Member
Joined
Jul 1, 2014
Messages
11
Excel 2010 - I have created a pivot table with YoY Count as a column. The first year has no YoY data since there is no prior year for comparison. This is resulting in YoY Count field with data for for all subsequent years except that first year. Because the pivot table will be pivoted I cannot simply hide the column. Is there a way to remove the column with no values without hiding it?


[TABLE="width: 407"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD]LY[/TD]
[TD][/TD]
[TD]TY[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Region[/TD]
[TD]Month[/TD]
[TD]Count[/TD]
[TD]YoY Count[/TD]
[TD]Count[/TD]
[TD]YoY Count[/TD]
[/TR]
[TR]
[TD]Domestic[/TD]
[TD][/TD]
[TD]1,431,470[/TD]
[TD][/TD]
[TD]1,494,963[/TD]
[TD]63,493[/TD]
[/TR]
[TR]
[TD]MCLA[/TD]
[TD][/TD]
[TD]607,880[/TD]
[TD][/TD]
[TD]691,262[/TD]
[TD]83,382[/TD]
[/TR]
[TR]
[TD]Pacific[/TD]
[TD][/TD]
[TD]146,906[/TD]
[TD][/TD]
[TD]97,173[/TD]
[TD](49,733)[/TD]
[/TR]
[TR]
[TD]TransAtlantic[/TD]
[TD][/TD]
[TD]224,393[/TD]
[TD][/TD]
[TD]240,224[/TD]
[TD]15,831[/TD]
[/TR]
[TR]
[TD]Grand Total[/TD]
[TD][/TD]
[TD]2,410,649[/TD]
[TD][/TD]
[TD]2,523,622[/TD]
[TD]112,973
[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

Forum statistics

Threads
1,223,275
Messages
6,171,123
Members
452,381
Latest member
Nova88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top