Imagine that you have prepared a sales report for a supermarket in Ibadan. Your PivotTable contains the names of products, branches and total sales.
The report has the correct information, but it looks plain and difficult to read. Some figures are not formatted as money, the headings are not clear, and the important figures are difficult to identify.
What can you do?
You can format and customise your PivotTable.
Formatting means changing the appearance of your report to make it clearer, more attractive and easier to understand.
In this module, you will learn how to apply PivotTable styles, change number formats, adjust column widths, highlight important figures and customise report layouts.
PivotTable formatting involves changing how information appears in an Excel PivotTable.
For example, you can:
Excel provides different built-in styles that you can use to improve the appearance of your PivotTable.
Some styles use:
Your PivotTable will immediately change its appearance.
Excel provides additional options that help you control how your PivotTable looks.
This option applies special formatting to the headings that identify rows in your PivotTable.
This option applies special formatting to the headings displayed across the columns.
Banded Rows means using alternating colours for rows.
For example, one row may have a white background while the next row has a light blue background.
This makes it easier to follow information across a wide report.
Banded Columns applies alternating formatting to columns instead of rows.
Imagine your PivotTable shows total sales like this:
| Product | Total Sales |
|---|---|
| Rice | 250000 |
| Beans | 120000 |
| Milk | 180000 |
The figures are correct, but the reader may not immediately know that they represent money.
You can format them as Nigerian naira.
The report will look like this:
| Product | Total Sales |
|---|---|
| Rice | โฆ250,000.00 |
| Beans | โฆ120,000.00 |
| Milk | โฆ180,000.00 |
Your PivotTable sales figures should now display in the selected currency format.
Decimal places are the numbers that appear after a decimal point.
For example:
| Number Format | Example |
|---|---|
| 0 decimal places | 250,000 |
| 1 decimal place | 250,000.0 |
| 2 decimal places | 250,000.00 |
You can change decimal places when formatting numbers or currency.
For many supermarket sales reports, two decimal places may be useful. However, you can use zero decimal places when the business does not need to display smaller amounts.
Sometimes, information in a PivotTable may not fit inside a column.
For example, a product name may appear as:
Introduction to Micr...
This happens because the column is too narrow.
To adjust several columns, select them first and use the column-width options available from the Home tab.
Excel allows you to display PivotTable information using different layouts.
The main report layout options include:
Compact Form displays multiple row fields together in one column. It is the default layout for many new PivotTables.
Outline Form displays row fields in separate columns and shows a structured arrangement of the information.
Tabular Form displays each row field in its own column, making the report look more like a regular table.
Try the three options and observe how the report changes.
A subtotal is a smaller total calculated for a group of information.
Imagine your report shows sales for different products under each branch.
You may want to see the total sales for each branch as well as the individual product sales.
Subtotals help you do this.
The available options may depend on your PivotTable layout.
A Grand Total is the overall total for the information displayed in your PivotTable.
For example:
| Product | Total Sales |
|---|---|
| Rice | โฆ250,000 |
| Beans | โฆ120,000 |
| Milk | โฆ180,000 |
| Grand Total | โฆ550,000 |
The Grand Total shows the combined sales of all the products in the report.
Conditional Formatting helps you highlight important values automatically based on rules.
For example, a supermarket manager may want to highlight products with sales greater than โฆ200,000.
Conditional Formatting can help identify these products quickly.
Excel will highlight values that meet the condition.
When working with PivotTables, use the Conditional Formatting options for PivotTable value cells carefully. Where available, choose the option that applies the rule to all cells showing the relevant value field so that the formatting behaves more consistently when the PivotTable changes.
Sometimes Excel creates headings that are not very friendly to readers.
For example:
You can change these headings to make the report easier to understand.
For example:
You can also open Value Field Settings and enter a new name in the Custom Name box.
A good business report should be easy to read and understand.
Follow these simple guidelines:
Open the supermarket sales workbook you have been using in the previous modules.
Complete the following activities:
Challenge: Create a second PivotTable showing sales by branch and product. Apply a different style and compare both reports.
Save your workbook as Professional Supermarket Sales Report Module 7.xlsx.
| Term | Meaning |
|---|---|
| Formatting | Changing the appearance of information. |
| PivotTable Style | A ready-made design for a PivotTable. |
| Banded Rows | Alternating colours applied to rows. |
| Currency Format | A number format used to display money. |
| Conditional Formatting | Formatting that is applied when values meet certain rules. |
| Subtotal | A total for a group of information. |
| Grand Total | The overall total in a PivotTable. |
| Tabular Form | A layout that displays row fields in separate columns. |
| AutoFit | A feature that adjusts column width to fit its contents. |
Choose the correct answer for each question.
What is PivotTable formatting?
Which Excel tab contains PivotTable Styles?
What does Banded Rows do?
Which number format is suitable for displaying Nigerian money?
Where should you change a PivotTable value field's number format to help preserve it after refresh?
Which report layout displays row fields in separate columns?
What is a Grand Total?
Which feature can automatically highlight sales values above โฆ200,000?
What does AutoFit do?
Why should you avoid using too many colours in a PivotTable?
| Question | Correct Answer |
|---|---|
| 1 | B โ Changing the appearance of a PivotTable |
| 2 | C โ Design |
| 3 | B โ Applies alternating formatting to rows |
| 4 | D โ Currency |
| 5 | A โ Value Field Settings |
| 6 | C โ Tabular Form |
| 7 | B โ The overall total of the information in a report |
| 8 | D โ Conditional Formatting |
| 9 | A โ Adjusts column width to fit its contents |
| 10 | C โ It can make the report confusing |
Congratulations! You have completed Module 7 of Pivot Tables in Excel.
In this module, you learned how to:
In the next module, you will learn how to add interactive buttons and date controls to your PivotTables. These tools will help you filter reports quickly without opening several filter menus.