Locked lesson.
About this lesson
Learn to control formatting and other options in PivotTables.
Lesson versions
Multiple versions of this lesson are available, choose the appropriate version for you:
Exercise files
Download the ‘before’ and ‘after’ Excel workbooks from the video tutorial and try the lesson yourself.
Formatting Pivot Tables.xlsx20.1 KB Formatting Pivot Tables - Completed.xlsx
33.8 KB Formatting PivotTables - Extra Practice.xlsx
55.3 KB
Quick reference
Topic
Formatting PivotTables.
Description
Controlling formatting and other options on PivotTables.
When to use
Having your data in tabular format is all very well, but we need to format it to display it in the most readable and approachable way.
Instructions
- Create a PivotTable with the following setup:
- Rows: DRG Definition, Provider State
- Values: Total Medical Payment
Formatting numeric columns
- Select any cell in column B (the Sum of Total Medical Payments column)
- Right click, choose “Value Field Settings”, and click the Number Format box at the bottom
- Choose Accounting, with no symbol and no decimals, then click OK until you return to the Pivot
- Drag DRG Definition into the ROWS area, and Provider State below it
- Select B3 and enter “Total Medical Payment”
- After you receive the error, try again but add a space at the end. (Notice it renames the item in the values area of the PivotTable fields.)
Changing report layouts
- Click in the PivotTable, go PivotTable Tools > Design > Report Layout > Show in tabular form
- Go PivotTable Tools > Design > Report Layout > Show in tabular form
Controlling column widths
- Go back to the source data and update L4 to read 10,000,006,511
- Return to the PivotTable, right click it, choose Refresh, and notice column C expands to fit
- Drag column C slightly wider, right click the PivotTable and refresh
- Notice it resizes again!
- Right click the PivotTable, choose PivotTable Options, uncheck the box next to “Autofit column widths on update”
- Resize Column C, right click the PivotTable and refresh. It stays the same size
- Return to the source data, set L4 back to 6,511
- Return to the PivotTable, right click it and refresh, and the column width doesn’t change
Lesson notes are only available for subscribers.