Highlight Cell Rules based on text labels | MyExcelOnline

Pivot Tables in Excel are one of the most powerful features within Microsoft Excel that allows you to analyze more than 1 million rows of data with just a few mouse clicks.

You can use conditional formatting with Excel Pivot Tables to highlight cell rules based on text labels. Let me show you how easy this is with the help of examples.

 

Download this Excel Workbook and follow the step-by-step tutorial below:

DOWNLOAD EXCEL WORKBOOK


Example 1:

This is our current Pivot Table setup. We want to highlight all of the Q1 text in our Row Labels.

Highlight Cell Rules based on text labels | MyExcelOnline

STEP 1: Highlight all the quarter text by clicking above the cell

Highlight Cell Rules based on text labels | MyExcelOnline

STEP 2: Go to Home > Conditional Formatting > Highlight Cells Rules > Text that Contains

Highlight Cell Rules based on text labels | MyExcelOnline

STEP 3: Type in Q1 and select OK. You can select any color that you wish.

Highlight Cell Rules based on text labels | MyExcelOnline

The Q1 text is now highlighted! You can do the same for Column Labels as well

Highlight Cell Rules based on text labels | MyExcelOnline

 

Example 2:

In this example, we want to highlight all quarters except Q4 in red.

STEP 1: Highlight all the quarter text by clicking above the cell

Highlight Cell Rules based on text labels | MyExcelOnline

STEP 2: Go to Home > Conditional Formatting > Highlight Cells Rules > More Rules

Highlight Cell Rules based on text labels | MyExcelOnline

STEP 3: In the New Formatting Rule dialog box, select Specific Text from the first dropdown.

Highlight Cell Rules based on text labels | MyExcelOnline

STEP 4: Select not containing from the second dropdown.

Highlight Cell Rules based on text labels | MyExcelOnline

STEP 5: Type Q4 in the space shown below.

Highlight Cell Rules based on text labels | MyExcelOnline

STEP 6: Click on the Format… button.

Highlight Cell Rules based on text labels | MyExcelOnline

STEP 7: In the Format Cell dialog box, select the red color.

Highlight Cell Rules based on text labels | MyExcelOnline

STEP 8: Click OK.

Highlight Cell Rules based on text labels | MyExcelOnline

This is what the data will look like:

highlight cell rules

All quarters except Q4 have been highlighted in red!

 

HELPFUL RESOURCE:

Make sure to download our FREE PDF on the 333 Excel keyboard Shortcuts here:

Microsoft Excel Training

You can learn more about how to use Excel by viewing our FREE Excel webinar training on FormulasPivot TablesPower Query, and Macros & VBA!

If you like this Excel tip, please share itEmail this to someone

email

Pin on Pinterest

Share on Facebook

Tweet about this on Twitter

Share on LinkedIn