Pinterest Pixel

Highlight Cell Rules based on text labels

Bryan
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 workbookHighlight-Cell-Rules-based-on-text-labels.xlsx


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

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

Highlight Cell Rules based on text labels

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

Highlight Cell Rules based on text labels

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

Highlight Cell Rules based on text labels

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

See also  Highlight Cell Rules based on date labels

Highlight Cell Rules based on text labels

 

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

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

Highlight Cell Rules based on text labels

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

Highlight Cell Rules based on text labels

STEP 4: Select not containing from the second dropdown.

Highlight Cell Rules based on text labels

STEP 5: Type Q4 in the space shown below.

Highlight Cell Rules based on text labels

STEP 6: Click on the Format… button.

Highlight Cell Rules based on text labels

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

Highlight Cell Rules based on text labels

STEP 8: Click OK.

Highlight Cell Rules based on text labels

This is what the data will look like:

Highlight Cell Rules based on text labels

All quarters except Q4 have been highlighted in red!

 

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

If you like this Excel tip, please share it


See also  Sum vs Count in Pivot Table


Highlight Cell Rules based on text labels | MyExcelOnline


Bryan

Bryan is a best-selling book author of the 101 Excel Series paperback books.

Star 30 Days - Full Access Star

One Dollar Trial

$1 Trial for 30 days!

Access for $1

Cancel Anytime

One Dollar Trial
  • Get FULL ACCESS to all our Excel & Office courses, bonuses, and support for just USD $1 today! Enjoy 30 days of learning and expert help.
  • You can CANCEL ANYTIME — no strings attached! Even if it’s on day 29, you won’t be charged again.
  • You'll get to keep all our downloadable Excel E-Books, Workbooks, Templates, and Cheat Sheets - yours to enjoy FOREVER!
  • Practice Workbooks
  • Certificates of Completion
  • 5 Amazing Bonuses
Satisfaction Guaranteed
Accepted paymend methods
Secure checkout

Get Video Training

Advance your Microsoft Excel & Office Skills with the MyExcelOnline Academy!

Dramatically Reduce Repetition, Stress, and Overtime!
Exponentially Increase Your Chances of a Promotion, Pay Raise or New Job!

Learn in as little as 5 minutes a day or on your schedule.

Learn More!

Share to...