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

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,149
Messages
5,835,683
Members
430,375
Latest member
datdog22

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