Need to make certain text stand out, such as a product name, or a person’s name? Conditional formatting highlights the text you want to make easy to see.
In this example, we used conditional formatting to highlight “Northwind Traders Olive Oil” with a green background and dark green text.
- Select the cells you want to apply conditional formatting to. Click the first cell in the range, and then drag to the last cell.
- On the Home tab, click Conditional Formatting > Highlight Cells Rules > Text that Contains.
- In the Text that Contains box, on the left, enter the text you want highlighted.
- On the right, select the color format for the text, and then click OK.
The selected text is highlighted throughout the worksheet.
Use these steps when you don’t necessarily have easily identifiable text to search for. In this example, we used conditional formatting to highlight words that end with “es” with bold red text.
- Select the range of cells you want to apply conditional formatting to.
- On the Home tab, click Conditional Formatting > Manage Rules.
- In the Conditional Formatting Rules Manager box, click New Rule.
- In the New Formatting Rule box, click Format only cells that contain.
- Under Format only cells with, select Specific Text in the drop-down box.
- Select ending with in the next drop-down box.
- In the last drop-down box, enter the example text es.
- Click Format, and then click the Font tab.
- In the Color box, select a color for the highlighted cells.
- In the Font style box, select Bold.
- Click OK until you’ve closed the dialog boxes.
The cells with text ending in “es” are highlighted throughout the worksheet.
More about conditional formatting