A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi, DaveW2020
Thank you for using Microsoft products and posting them in the community.
To highlight a cell in Excel based on the value of another cell, you can use conditional formatting. Specifically, if you want to highlight a cell in column K based on a value in column H, you can follow these steps:
- Select the range of cells in column K to which you wish to apply conditional formatting. For example, select K3:K1000.
- In the Excel menu, select the "Start" tab, and then click "Conditional Formatting".
- Select New Rule.
- In the New Rule window, select "use the formula to determine the format of the cell".
- In the formula box, enter the following formula:
= π»3 = "the value you want to match"
For example, if you want to highlight cells in column K when the value in column H is "Yes", the formula should be:
=π»3="πππ "
- Click on the "Format" button and set the format you want (e.g. fill color).
- Click "OK" to complete the setup.
Note that the cell reference H3 in the formula is a relative reference, which means that it will be automatically adjusted according to the range you have selected. If you choose K3:K1000, then the formula will automatically apply to each cell in column K and check the corresponding cell value in column H.
The following is a specific example:
- Select K3:K1000.
- Click "Conditional Format" -> "New Rule".
- Select "Use the formula to determine the cell to be formatted".
- Enter the formula:
=π»3="πππ "
- Click on "Format" and select a fill color (e.g., green).
- Click "OK".
This way, when a cell in column H has a value of "Yes", the corresponding cell in column K will be highlighted.
If you wish to highlight cells based on more complex conditions, you can adjust the formula as needed. For example, if you wish to highlight cells in column K when the value in column H is greater than 10, the formula could be:
=π»3>10
Use conditional formatting to highlight information in Excel - Microsoft Support
I hope the above information can help you. Feel free to send a message if you need further help.
Best wishes
Aiden.C - MSFT |Microsoft Community Support Specialist