Pivot Table - how to always display all dataset row and column values

bri_g_i

New Member
Joined
Nov 2, 2007
Messages
4
Hi everyone,

I have a pivot table with 246 rows representing rooms and, for the month of January, 31 columns, representing each day. The data field (count of date reserved) simply shows 1 for occupied and 0 for unoccupied.

If room 1 has even a single date reserved during the month, it shows 1 in the column representing the date the room was occupied, and shows 0 on the remaining 30 dates that it was unoccupied. This is exactly what I want, and the pivot is fine up to this point.

If it happens to be the case however, that room 1 has no dates reserved for the entire month of January, Excel doesn't display room 1 in the pivot table. I fear the same would be true if there was no occupancy in any of the 246 rooms on January 1, that Excel would also not display January 1 as a column.

How do I trick Excel to include all 246 rooms and all dates in January in my dataset?

Any suggestions?
 
Last edited:

Some videos you may like

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

Watch MrExcel Video

Forum statistics

Threads
1,122,518
Messages
5,596,621
Members
414,082
Latest member
sasmita

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
Top