Conditional Formatting in Excel

 

Conditional Formatting

Learn how to add color & shapes to your data & reports to highlight key findings.


Conditionally Formatting a Drop Down List

We are now going to take this concept one level further and apply some conditional formatting to the drop down data validation list.

This is useful if you want to highlight when a job is completed, check off items from a list or to evaluate risk in a project just like I have done in below´s example.

STEP 1: Select the range that you want to apply the conditional formatting to.

Conditonal Format a Drop Down List

STEP 2: Go to Home > Styles > Conditional Formatting > Manage Rules

Conditonal Format a Drop Down List

STEP 3: Select New Rule

Conditonal Format a Drop Down List

STEP 4: Create the new rule for High values:

Select Use a formula to determine which cells to format

Type in the Formula =$A4=”high” 

This formula will ensure only the column is absolute.

Go to Format > Fill then select a color of your choosing. Click OK.

Conditonal Format a Drop Down List

Repeat the same steps for medium values. Click New Rule.

Select Use a formula to determine which cells to format

Type in the Formula =$A4=”medium” 

This formula will ensure only the column is absolute.

Go to Format > Fill then select a color of your choosing. Click OK.

Conditonal Format a Drop Down List

Repeat the same steps for low values. Click New Rule.

Select Use a formula to determine which cells to format

Type in the Formula =$A4=”low” 

This formula will ensure only the column is absolute.

Go to Format > Fill then select a color of your choosing. Click OK.

Conditonal Format a Drop Down List

This is how our new set of rules will look like:

Conditonal Format a Drop Down List

Now our table now has conditional formatting applied!

Conditonal Format a Drop Down List

Find Duplicates Using Conditional Formatting

Normally when we have dirty data, we tend to get a lot of duplicates. But in Excel it is very easy to spot the duplicates for your data cleanup!

Here is our sample list of words, you can see it has a lot of duplicates:

Conditional Formatting

STEP 1:Select your list of words / data:

Conditional Formatting

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

Conditional Formatting

STEP 3: You can select the formatting that you want. For our example, we selected Green Fill with Dark Green Text.

Click OK.

Conditional Formatting

You will now see the magic happen, all of the duplicate values are now highlighted in your Excel worksheet!

Conditional Formatting

Conditionally Format a Cell’s Value

A great way to highlight values within your data set, Excel Table or Pivot Table is to use Conditional Formatting rules.

Formatting cells that contain a specific criteria, for example, greater than X or less than X, is a good way to visualize your results.

When your criteria references a cell, then you can make this conditional format interactive.  So as you manually change the referenced cell´s value, the conditional format gets updated and you can see the live results, as shown below….


STEP 1: Select a cell in your Pivot Table.

Conditional Formatting

STEP 2: Go to Home > Conditional Formatting > New Rule

Conditional Formatting

STEP 3: Set Apply Rule to the third option: All cells showing “Sum of SALES” values for “MONTH” and “YEAR”

Conditional Formatting

STEP 4: Select a rule type: Format Only Cells That Contain

Conditional Formatting

STEP 5: Edit the Rule Description. Go to Cell Value > Greater Than > Select The Cell

Conditional Formatting

Conditional Formatting

STEP 6: Select the cell format. Click Format and select a color. Click OK.

Conditional Formatting

Try it out now! The highlight now happens dynamically when you update the value.

Conditional Formatting

Comments

Popular posts from this blog

How to Use Windings Symbols in Excel

Excel Keyboard Shortcuts