Sub topic 13
Arranging controls in an interactive report
This chapter assumes you can insert a slicer or timeline, resize it, and connect it to several PivotTables through Report Connections. Here you will place those controls on a sheet so the report is easy to read and hard to break.
Plan the sheet before placing controls
Controls float above the cells, so they can cover data. Decide on three zones first:
- A control strip along the top or left edge for slicers and timelines.
- A results area for PivotTables and PivotCharts.
- A spare area, off to the side or on another sheet, for any PivotTable you do not want readers to see.
Put the timeline first and the slicers next. Readers usually choose a period before they choose a category.
Align and size the controls
Hand-placed controls look uneven. Use the ribbon instead:
- Click one slicer, then Ctrl+click the others. Timelines can be part of the same selection.
- Open the Slicer or Timeline tab and go to the Arrange group.
- Choose Align Top (for a row) or Align Left (for a column).
- Choose Distribute Horizontally or Distribute Vertically to even out the gaps.
For equal sizes, type the same Height and Width values in the Size group for each control. A slicer's Columns setting from the Buttons group lets a long list sit in a short, wide box. This is useful for a top strip.
The Selection Pane (also in the Arrange group) lists every control on the sheet. Rename each entry to something meaningful, such as "Region slicer", so you can find it when controls overlap. Bring Forward and Send Backward set which control sits on top.
Group controls with their charts
Select a slicer and a PivotChart together, then choose Group. The pair now moves and resizes as one object. Grouping is handy when you copy a finished block to another sheet. The grouped slicer keeps its connections, as long as the target PivotTables are in the same workbook.
Make the layout stay put
By default, controls move and resize with the cells beneath them. If a PivotTable grows after a refresh and shifts rows, the layout can shift too. To prevent this:
- Right-click a control and choose Size and Properties (Format Slicer or Format Timeline).
- Under Properties, select Don't move or size with cells.
Also turn off gridlines (View tab) and freeze the top rows (View > Freeze Panes) so the control strip stays visible while readers scroll.
Protect the sheet without locking the controls
Protecting the sheet stops readers from moving controls by accident, but by default it also blocks clicking them. Do both of these:
- In the control's Properties, clear the Locked check box.
- When you choose Review > Protect Sheet, tick Use PivotTable & PivotChart.
Check the result
Click each control and confirm that every connected PivotTable and chart responds. Then clear all filters, so the report opens in its full, unfiltered state.
Exercise
You aligned four slicers in a row, then protected the sheet. Readers report that the slicers do not respond to clicks. Which two settings do you check?
Show answer
Check that each slicer's Locked property is cleared, and that Use PivotTable & PivotChart was ticked in the Protect Sheet dialog. Both are required for slicers to work on a protected sheet.