Hiring Partners
Segilola Resources Operating LimitedTaviatech TechnologiesFCMBMTN NigeriaAdvans La Fayette Microfinance BankAboki AfricaFirst Bank of NigeriaOPay
โ† Pivot Tables in Excel ยท Lesson 8 of 13

Module Seven

๐Ÿ“– Every lesson in this course is free to read right here, no account needed. Create a free account to track your progress, take the exam, and earn your certificate.
8
Module 7: Formatting and Customising PivotTables Module 7: Formatting and Customising PivotTables

Module 7: Formatting and Customising PivotTables

Introduction

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.

1. What Is PivotTable Formatting?

PivotTable formatting involves changing how information appears in an Excel PivotTable.

For example, you can:

  • Change the colour of headings.
  • Apply professional table styles.
  • Make headings bold.
  • Display sales figures in Nigerian naira.
  • Adjust column widths.
  • Highlight important figures.
  • Change how totals are displayed.
  • Make the report easier to read.
Remember: Formatting changes how your report looks. It does not normally change the original sales figures or the calculations in your PivotTable.

2. Applying a PivotTable Style

Excel provides different built-in styles that you can use to improve the appearance of your PivotTable.

Some styles use:

  • Different heading colours.
  • Alternating row colours.
  • Bold headings.
  • Clear borders.
  • Shading for important sections.

How to Apply a PivotTable Style

  1. Open your Excel workbook.
  2. Click anywhere inside your PivotTable.
  3. Look for the PivotTable Design tab on the ribbon. In some Excel versions, it may appear as Design under PivotTable Tools.
  4. Find the PivotTable Styles section.
  5. Click the More arrow to view additional styles.
  6. Choose a style that you like.

Your PivotTable will immediately change its appearance.

3. Understanding PivotTable Style Options

Excel provides additional options that help you control how your PivotTable looks.

A. Row Headers

This option applies special formatting to the headings that identify rows in your PivotTable.

B. Column Headers

This option applies special formatting to the headings displayed across the columns.

C. Banded Rows

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.

D. Banded Columns

Banded Columns applies alternating formatting to columns instead of rows.

Tip: Use simple colours for business reports. Too many bright colours can make a PivotTable difficult to read.

4. Formatting Sales Figures as Nigerian Naira

Imagine your PivotTable shows total sales like this:

Product Total Sales
Rice250000
Beans120000
Milk180000

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

How to Format Values as Currency

  1. Right-click any sales figure inside your PivotTable.
  2. Select Value Field Settings.
  3. Click the Number Format button.
  4. Choose Currency or Accounting.
  5. Select the Nigerian naira symbol (โ‚ฆ) if it is available in your Excel installation.
  6. Choose the number of decimal places.
  7. Click OK, then click OK again.

Your PivotTable sales figures should now display in the selected currency format.

Important: Use Number Format inside Value Field Settings whenever possible. This helps preserve the formatting when the PivotTable is refreshed.

5. Changing Decimal Places

Decimal places are the numbers that appear after a decimal point.

For example:

Number Format Example
0 decimal places250,000
1 decimal place250,000.0
2 decimal places250,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.

6. Adjusting Column Widths

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.

How to Adjust Column Widths

  1. Move your mouse to the line between two column headings, such as between A and B.
  2. When the mouse pointer changes, drag the line to increase or reduce the column width.
  3. You can also double-click the boundary to use AutoFit for the column.

To adjust several columns, select them first and use the column-width options available from the Home tab.

Tip: Make sure product names, branch names and sales figures are fully visible before sharing your report.

7. Changing the PivotTable Report Layout

Excel allows you to display PivotTable information using different layouts.

The main report layout options include:

A. Compact Form

Compact Form displays multiple row fields together in one column. It is the default layout for many new PivotTables.

B. Outline Form

Outline Form displays row fields in separate columns and shows a structured arrangement of the information.

C. Tabular Form

Tabular Form displays each row field in its own column, making the report look more like a regular table.

How to Change the Report Layout

  1. Click anywhere inside the PivotTable.
  2. Open the Design tab.
  3. Find the Report Layout option.
  4. Click Report Layout.
  5. Choose Show in Compact Form, Show in Outline Form or Show in Tabular Form.

Try the three options and observe how the report changes.

8. Showing and Hiding Subtotals

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.

How to Show or Hide Subtotals

  1. Click inside your PivotTable.
  2. Open the Design tab.
  3. Click Subtotals.
  4. Choose Show All Subtotals at Top of Group, Show All Subtotals at Bottom of Group or Do Not Show Subtotals.

The available options may depend on your PivotTable layout.

9. Showing and Hiding Grand Totals

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.

How to Change Grand Total Settings

  1. Click anywhere inside your PivotTable.
  2. Open the Design tab.
  3. Click Grand Totals.
  4. Choose whether to show grand totals for rows and columns, show for rows only, show for columns only, or turn them off.
Remember: If you apply a filter, the Grand Total usually represents only the records currently included in the PivotTable report.

10. Using Conditional Formatting

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.

How to Apply Conditional Formatting

  1. Select the sales values in your PivotTable.
  2. Go to the Home tab.
  3. Click Conditional Formatting.
  4. Choose a rule, such as Greater Than.
  5. Enter 200000.
  6. Choose a formatting style.
  7. Click OK.

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.

11. Renaming PivotTable Field Headings

Sometimes Excel creates headings that are not very friendly to readers.

For example:

  • Sum of Sales
  • Count of Quantity
  • Average of Price

You can change these headings to make the report easier to understand.

For example:

  • Sum of Sales can become Total Sales.
  • Count of Quantity can become Number of Records.
  • Average of Price can become Average Price.

How to Rename a Value Field

  1. Click the heading you want to change.
  2. Type the new heading, such as Total Sales.
  3. Press Enter.

You can also open Value Field Settings and enter a new name in the Custom Name box.

Note: Avoid using exactly the same name as an existing source field when renaming a PivotTable value field. Excel may reject duplicate field names.

12. Making a PivotTable Report Professional

A good business report should be easy to read and understand.

Follow these simple guidelines:

  • Use clear headings.
  • Choose simple colours.
  • Format money as currency.
  • Use consistent number formats.
  • Make sure all information is visible.
  • Show useful subtotals and grand totals.
  • Avoid unnecessary colours and decorative effects.
  • Use a meaningful report title.

13. Practical Activity

Project: Create a Professional Supermarket Sales Report

Open the supermarket sales workbook you have been using in the previous modules.

Complete the following activities:

  1. Open your PivotTable showing total sales by product.
  2. Apply a professional PivotTable style.
  3. Enable Row Headers and Column Headers if appropriate.
  4. Try Banded Rows to make the report easier to read.
  5. Format sales figures as Nigerian naira (โ‚ฆ).
  6. Adjust column widths so that all headings are visible.
  7. Change the report layout to Tabular Form.
  8. Display Grand Totals.
  9. Rename Sum of Sales to Total Sales.
  10. Use Conditional Formatting to highlight sales above โ‚ฆ200,000.

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.

14. Common Formatting Mistakes to Avoid

  • Using too many colours: Too many colours can make a report confusing.
  • Formatting only the visible cells: Some manual formatting may not behave as expected when the PivotTable is refreshed or rearranged.
  • Using the wrong number format: Do not display sales figures as dates or percentages.
  • Hiding important totals: Make sure the report includes useful totals where needed.
  • Using very small fonts: Readers should be able to read the report comfortably.
  • Leaving narrow columns: Adjust columns so that information is not cut off.

15. Important Terms to Remember

Term Meaning
FormattingChanging the appearance of information.
PivotTable StyleA ready-made design for a PivotTable.
Banded RowsAlternating colours applied to rows.
Currency FormatA number format used to display money.
Conditional FormattingFormatting that is applied when values meet certain rules.
SubtotalA total for a group of information.
Grand TotalThe overall total in a PivotTable.
Tabular FormA layout that displays row fields in separate columns.
AutoFitA feature that adjusts column width to fit its contents.

16. Module Assessment: Test Your Knowledge

Choose the correct answer for each question.

Question 1

What is PivotTable formatting?

  1. Deleting all records
  2. Changing the appearance of a PivotTable
  3. Installing a new operating system
  4. Removing Excel from a computer

Question 2

Which Excel tab contains PivotTable Styles?

  1. Review
  2. View
  3. Design
  4. File

Question 3

What does Banded Rows do?

  1. Deletes alternate rows
  2. Applies alternating formatting to rows
  3. Changes all numbers to dates
  4. Hides the column headings

Question 4

Which number format is suitable for displaying Nigerian money?

  1. Percentage
  2. Date
  3. Time
  4. Currency

Question 5

Where should you change a PivotTable value field's number format to help preserve it after refresh?

  1. Value Field Settings
  2. Page Layout
  3. Print Preview
  4. Windows Settings

Question 6

Which report layout displays row fields in separate columns?

  1. Compact Form
  2. Normal Form
  3. Tabular Form
  4. Hidden Form

Question 7

What is a Grand Total?

  1. The title of a workbook
  2. The overall total of the information in a report
  3. The name of a worksheet
  4. The colour of a table

Question 8

Which feature can automatically highlight sales values above โ‚ฆ200,000?

  1. Find and Replace
  2. Spell Check
  3. Page Break
  4. Conditional Formatting

Question 9

What does AutoFit do?

  1. Adjusts column width to fit its contents
  2. Deletes empty worksheets
  3. Creates a new workbook
  4. Changes the computer password

Question 10

Why should you avoid using too many colours in a PivotTable?

  1. It makes Excel stop working
  2. It deletes the original data
  3. It can make the report confusing
  4. It prevents calculations

17. Assessment Answer Key

Question Correct Answer
1B โ€“ Changing the appearance of a PivotTable
2C โ€“ Design
3B โ€“ Applies alternating formatting to rows
4D โ€“ Currency
5A โ€“ Value Field Settings
6C โ€“ Tabular Form
7B โ€“ The overall total of the information in a report
8D โ€“ Conditional Formatting
9A โ€“ Adjusts column width to fit its contents
10C โ€“ It can make the report confusing

18. Module Summary

Congratulations! You have completed Module 7 of Pivot Tables in Excel.

In this module, you learned how to:

  • Apply professional PivotTable styles.
  • Use Row Headers, Column Headers and Banded Rows.
  • Format sales figures as Nigerian naira.
  • Change decimal places.
  • Adjust column widths using AutoFit.
  • Change PivotTable report layouts.
  • Show and hide subtotals and grand totals.
  • Use Conditional Formatting to highlight important figures.
  • Rename PivotTable field headings.
Next Module: Module 8 โ€“ Using Slicers and Timelines

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.

๐Ÿ† Get Certified

๐Ÿ”’

Earn this certificate

Every lesson is already free to read. Sign up, finish the lessons, pass the exam (โ‚ฆ2,000 or 20,000 coins), and get a verified certificate with your name on it.

๐ŸŽ“ Sign Up to Get Certified
๐Ÿ› ๏ธ Practice Tools
Hands-on simulators & labs - subscription required.
โ†’
๐ŸŽฏ Internship Tasks
Real-world tasks to build your portfolio - unlock them with a subscription.
โ†’