Forum Discussion
ACCOUNTING10SPEC
Jul 20, 2022Copper Contributor
HOW TO FORMAT EXCEL TO HIGHLIGHT AN ENTIRE ROW BASED ON DATA IN TWO CELLS
I NEED HELP TRYING TO CREATE A FORMULA I need my formula to read two columns ( E & H) and if the columns have yes it will highlight the entire row. If it says no it will highlight a diffrent c...
HansVogelaar
Jul 20, 2022MVP
Select all the rows that you want to highlight.
In the following, I will assume that the selected range starts in row 2, and that the active cell in the selection is in row 2.
On the Home tab of the ribbon, select Conditional Formatting > New Rule...
Select 'Use a formula to determine which cells to format'.
Enter the formula =AND($E2="Yes",$H2="Yes")
Click Format...
Activate the Fill tab.
Select a color.
Click OK, then click OK again.
Repeat for other rules, e.g. with =AND($E2="No",$H2="No")