How to use Conditional Formatting in Excel to Color-Code Specific Cells
Selecting individual cells -- even by Ctrl + clicking to choose multiple cells -- is a timesink. In Excel, it’s best to make use of Conditional Formatting for otherwise tedious tasks, such as this one.
In fact, it’s an easy argument to make that aside from Pivot Tables, Conditional Formatting is Excel’s most useful feature. Conditional Formatting essentially allows you to set specific rules in an if/then sort of language. Using our spreadsheet below, we can create easy rules to color code bills that have yet to be paid. Or, we could apply Conditional Formatting to bills we’ve paid, while adding a second condition to color code everything in the “utilities” category.
- Open a workbook in Excel. For the sake of this tutorial, I’m going to fill it with dummy data. You can do the same, or work from an existing workbook; just be sure to save it first.
- Select the data to be formatted. In this case, we’re going to choose everything in Column G, the “Paid?” category.
- Choose Conditional Formatting from the ribbon.
- Next, click Highlight Cells Rules from the dropdown, and select Equal To…
- We’re going to color-code bills that we haven’t paid. To do that, add “NO” to the Format cells that are EQUAL TO box, and then select a color option from the dropdown menu. Or, you can create your own using Custom Format…
- Press OK.