Ever found yourself drowning in a sea of data in Excel, wishing you could quickly identify specific text values? Conditional formatting is your lifesaver, allowing you to apply colors, icons, or other visual cues to cells based on their content. Today, we're going to explore how to apply conditional formatting to multiple text values in Excel.

Before we dive in, ensure you're using Excel for Windows or Mac (2010 or later) as the steps may vary for older versions. Let's get started!

Understanding Conditional Formatting Rules
Conditional formatting in Excel uses rules to check if a cell meets certain conditions. If it does, the cell's appearance changes. To format multiple text values, we'll use the 'Use a formula to determine which cells to format' rule.

In this rule, you'll create a formula that returns TRUE for the cells you want to format and FALSE for those you don't. Let's break down how to do this.
Creating a Formula for Multiple Text Values

Suppose you want to format cells containing the text values "Apple", "Banana", and "Cherry". Your formula would look like this: `=OR(ISNUMBER(SEARCH("Apple", A1)), ISNUMBER(SEARCH("Banana", A1)), ISNUMBER(SEARCH("Cherry", A1)))`. Here's how it works:
SEARCHfinds the position of the text within the cell. If it finds the text, it returns a number; if not, it returns an error (#VALUE!).ISNUMBERchecks if the result is a number. If it is, the cell contains the searched text.ORcombines the results of the ISNUMBER checks. If any of them are TRUE, the formula returns TRUE.
This formula will return TRUE for cells containing "Apple", "Banana", or "Cherry", and FALSE for all others.

Applying the Conditional Formatting Rule
Now that you have your formula, follow these steps to apply the conditional formatting:
- Select the cells you want to format.
- Click on 'Conditional Formatting' in the 'Home' tab, then 'New Rule...'.
- Select 'Use a formula to determine which cells to format'.
- Enter your formula (e.g., `=OR(ISNUMBER(SEARCH("Apple", A1)), ISNUMBER(SEARCH("Banana", A1)), ISNUMBER(SEARCH("Cherry", A1)))`).
- Choose the formatting you want to apply (e.g., fill color, font color, etc.).
- Click 'OK' to apply the rule.

Excel will now apply the formatting to any cells containing "Apple", "Banana", or "Cherry".
Formatting Multiple Text Values in a Range




















What if your data is in a range, and you want to format cells based on the text in another cell? For example, you want to format cells in column B based on the text in column A. Here's how:
Using the INDIRECT Function
The INDIRECT function allows you to reference the range of cells in another cell. To use it, wrap your original formula in another formula like this: `=OR(ISNUMBER(SEARCH("Apple", INDIRECT(A1))), ISNUMBER(SEARCH("Banana", INDIRECT(A1))), ISNUMBER(SEARCH("Cherry", INDIRECT(A1))))`.
In this example, the formula checks if the text in cell A1 is "Apple", "Banana", or "Cherry". If it is, it formats the cells in the range specified in A1.
Applying the Conditional Formatting Rule to a Range
To apply the rule to a range, follow the same steps as before, but enter your new formula (e.g., `=OR(ISNUMBER(SEARCH("Apple", INDIRECT(A1))), ISNUMBER(SEARCH("Banana", INDIRECT(A1))), ISNUMBER(SEARCH("Cherry", INDIRECT(A1))))`) in the 'New Formula Rule' dialog box.
Excel will now apply the formatting to the range specified in cell A1 if the text in A1 is "Apple", "Banana", or "Cherry".
And there you have it! You now know how to apply conditional formatting to multiple text values in Excel. This powerful tool can save you time and make your data much easier to understand. Happy formatting!