Excel's conditional formatting is a powerful tool that allows you to apply specific formatting to cells based on their values. This can help you quickly identify trends, errors, or important data in your spreadsheet. In this guide, we'll walk you through the process of applying conditional formatting to cells based on a list of values.

Before we begin, ensure that your list of values is in a separate column or range. For this example, let's assume your list is in cells A1:A10. We'll apply conditional formatting to cells B1:B10, highlighting them if their value matches any in the list.

Setting Up Your List and Range
For conditional formatting to work, you need to have a list of values that you want to compare. This list can be in a separate column or range. In our case, we have our list in cells A1:A10.

Next, you need to select the range of cells you want to apply the conditional formatting to. In our example, we've selected cells B1:B10.
Using the 'New Rule' Option

The 'New Rule' option allows you to create custom rules for conditional formatting. This is the method we'll use to compare our range (B1:B10) with our list (A1:A10).
To access the 'New Rule' option, click on the 'Conditional Formatting' button in the 'Home' tab of the Excel ribbon, then select 'New Rule'.
Creating the Rule

In the 'New Formatting Rule' dialog box, select 'Use a formula to determine which cells to format'. In the 'Format values where this formula is true:' box, enter the following formula:
=COUNTIF($A$1:$A$10, B1)>0
This formula checks if the value in cell B1 exists in the range A1:A10. If it does, the formula returns TRUE, and Excel applies the formatting you specify.

Applying the Formatting
After entering the formula, click the 'Format' button. In the 'Format Cells' dialog box, you can choose the formatting you want to apply. For this example, let's choose a fill color of light red.




















Once you've selected your formatting, click 'OK'. Then, click 'OK' again in the 'New Formatting Rule' dialog box. Excel will now apply the conditional formatting to your range (B1:B10), highlighting any cells that match the values in your list (A1:A10).
And there you have it! You've successfully applied conditional formatting to your cells based on a list. This can be a great way to quickly identify and highlight important data in your spreadsheets. Happy formatting!