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:

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.

Forum statistics

Threads
1,224,550
Messages
6,179,462
Members
452,915
Latest member
hannnahheileen

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