Connect with us

MARKETING

A Quick Guide to Conditional Formatting in Excel

Published

on

A Quick Guide to Conditional Formatting in Excel

Let’s pretend you have a spreadsheet with 1,000 rows of data — it would be pretty difficult to spot patterns in the data with the naked eye. Enter conditional formatting.

This powerful tool highlights cells that meet a specific condition or “rule.” In other words, it brings your spreadsheet to life by adding color to patterns and trends.

Conditional Formatting highlighting who was absent in an attendance sheet.

Here, we’ll cover how to apply, edit, and copy and paste conditional formatting.

Conditional Formatting Based on Text

In this example, let’s use conditional formatting to an attendance list to highlight who was absent. The image below is the data set I’ll use to run through this explanation:

Advertisement

Screenshot 1-Mar-17-2022-04-58-33-30-PM

1. First, select the column or row you want to apply conditional formatting to. In this case, we’ll select column B.

Selecting Column B which contains the attendance status (Present or Absent)

2. To highlight who was absent, navigate to the header toolbar and select Conditional Formatting, as shown in the image below.

A screenshot of the Conditional Formatting tool in the header toolbar.

3. When the Conditional Formatting drop-down menu appears, select Highlight Cells Rules, then Equal To.

A screenshot of the Conditional Formatting drop-down. menu.

4. In the New Formatting dialog box, change Cell Value to Specific Text. Then, type “Absent” in the text box. Reference the image below:

The New Formatting Rule dialog box

5. From the New Formatting dialog box, we can also choose how we want to format the cells containing the word “Absent.” Check out the options below.

The "Format With" drop-down menu.

For this example, let’s stick with the default option (Light Red Fill with Dark Red Text).

Advertisement

6. Click OK. Now — thanks to conditional formatting — we can quickly identify which students were absent.

Conditional Formatting highlighting who was absent in an attendance sheet.

In the next section, we’ll cover how to apply conditional formatting based on another cell in the spreadsheet.

Conditional Formatting Based on Another Cell

In this example, the goal is to highlight the cells that match the drop-down menu in cell E1. The image below is the sample data set I’ll use for this explanation:

A spreadsheet that uses Conditional Formatting based on another cell.

1. First, select column B.

Selecting Column B to apply conditional formatting to.

2. Navigate to the header toolbar and select Conditional Formatting. When the Conditional Formatting drop-down menu appears, select Highlight Cells Rules, then Equal To.

A screenshot of the Conditional Formatting drop-down menu.

3. In the New Formatting dialog box, select Cell Value and Equal To.

Advertisement

In the text box, you can either click your mouse on cell E1 (the cell that contains the drop-down menu), or manually enter the formula =$E$1. See below.

The New Formatting Rule dialog box.

4. As you can see in the image above, we also changed the formatting to Yellow Fill with Dark Yellow Text. However, you can change this option to your preference. Click OK.

5. Now, the cells that match cell E1 are highlighted in yellow. Notice how the highlighted cells change depending on the status:

  • When the status is Present:

Conditional Formatting when the attendance status is set to "Present"

  • When the status is Absent:

Conditional Formatting when the attendance status is set to "Absent"

How to Edit Conditional Formatting

Here’s some good news — conditional formatting is not set in stone, meaning you can edit or delete it later. Here are the steps to do that:

1. Start by selecting the cell (or cell range) that contains a conditional formatting rule.

Selecting Column B which contains a Conditional Formatting rule.

2. Navigate to the header toolbar and select Conditional Formatting, then Manage Rules.

Advertisement

A screenshot of the "Manage Rules" option under the Conditional Formatting drop-down menu.

3. The Manage Rules dialog box will list the current rules for your selection. Select the rule you want to edit and click Edit Rule.

Screenshot of the Manage Rules dialog box.

How to Copy Conditional Formatting in Excel

You can easily copy a conditional formatting rule to another cell to (or range of cells) by using one of the following approaches.

1. Simple copy/paste.

The first approach is relatively straightforward. Start by selecting the cell you want to copy and hit the Copy button in the header toolbar — or click Control-C (or Command-C on a Mac).

Then, select the target cell and hit the Paste button in the header toolbar, or click Control-V (or Command-V on a Mac).

2. Format Painter

The second approach uses the tool Format Painter, which is located in the header toolbar. Check out the image below:

Screenshot of the Format Painter tool in the header toolbar.

To start, click on the cell you want to copy, then click Format Painter. Your mouse icon will change to a paintbrush. Then, drag the paintbrush to the cell (or range of cells) where you want to paste the format. Lastly, to stop using the paintbrush, press Esc on your keyboard.

Advertisement

Conditional formatting is a powerful way to visualize the data in your spreadsheet. With just a few clicks, you can emphasize important trends or patterns you may have otherwise missed. With the tips in this post, you’ll be able to use Conditional Formatting to its fullest extent.

excel marketing templates


Source link
Keep an eye on what we are doing
Be the first to get latest updates and exclusive content straight to your email inbox.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address