Conditional Formatting in Excel Pivot Table Tutorials
Show the Difference From Previous Month with Directional Icons
Using a Pivot Table you can show the variance from your previous month’s sales very easily…
See how to Show The Difference From Previous Months With Excel Pivot Tables here
Now that we have the Pivot Table report above, we can show the variances per month using an up/down or directional icon suing Conditional Formatting.

STEP 1: Click on any variance value in the Pivot Table and go to Home > Conditional Formatting > Icon Sets > Directional
STEP 2: This will bring up the Apply Formatting Rule to dialogue box.  Choose the 3rd option as this will apply the conditional format on all the values except the Subtotals
Your Pivot Table will look like this:
STEP 3: Now we need to make some edits in the Conditional Formatting Rule in order to get the Icons right.
Go to Home > Conditional Formatting >Â Manage Rules > Edit Rule
STEP 4: Inside the Edit Formatting Rule box you need to make the following changes:
Value = 0
Type = Number
“Check” the Show Icon Only box and press OK to confirm the changes:
STEP 5: In the next screen you will get the Conditional Formatting Rules Manager. Â Hit Apply to see the changes and OK to confirm them:
Now you have your Pivot Table showing the differences from the previous months with directional icons only!!!
Icon Sets In A Pivot Table
An Icon Set is a Conditional Formatting icon/graphic that you can include in your cells or Pivot Tables.
The icon will depend on the cell´s value so you can highlight key variances or trends. There are a few sets that you can include, like:
DIRECTIONAL (Change in values)
SHAPES (Milestones)
INDICATORS (Positive/Negative)
RATINGS (Scores)
I show you how easy it is to insert an Icon Set within a Pivot Table that will show a “directional icon” depending on the change of the monthly sales values.
So when monthly sales increase from the previous month, a green up arrow is shown and when monthly sales decrease, a red down arrow is shown.

STEP 1: Place the SALES Field in VALUES
STEP 2: Click on the new field and Select Value Field Settings
Go to Show Values as > Difference From > (previous) to get the difference from the previous month
STEP 3: Click in a variance cell. Go to Home > Styles > Conditional Formatting > Icon Sets > The First Icon Set
STEP 4: Make sure to select the third option. This excludes the subtotals and grand totals.
STEP 5: Go to Home > Styles > Conditional Formatting > Manage Rules
Select Edit Rule.
Set the settings to the ones shown below. This will set the column to show the arrow icons only.
Your icons are now ready in your Pivot Table!
Conditionally Format a Pivot Table With Data Bars
Data Bars are a new Conditional Formatting feature in Excel 2010 and they add a colored bar to your values.
The length of the data bar represents the value in the cell. A longer bar represents a higher value.
You have a Gradient Fill or a Solid Fill to choose from as well as 6 different pre-determined colors.
If you select the More Rules option then you can select more colors as well as many different values types to format.

Latest Tutorials