Forum Discussion
Conditionally Format Cell Based on the Text of Another Cell AND if it's Blank
- Jan 04, 2024
Let's say you want to apply this to X2:X10.
Select this range. X2 should be the active cell in the selection.
On the Home tab of the ribbon, click Conditional Formatting > New Rule...
Select 'Use a formula to determine which cells to format'.
Enter the formula=AND(W2="Yes", X2="")
Click Format...
Activate the Fill tab.
Select red as highlight color.
Click OK, then click OK again.
Let's say you want to apply this to X2:X10.
Select this range. X2 should be the active cell in the selection.
On the Home tab of the ribbon, click Conditional Formatting > New Rule...
Select 'Use a formula to determine which cells to format'.
Enter the formula
=AND(W2="Yes", X2="")
Click Format...
Activate the Fill tab.
Select red as highlight color.
Click OK, then click OK again.
- Username2024Jan 04, 2024Copper Contributor
That worked! Thank you!