Forum Discussion
dls5u
Mar 26, 2021Copper Contributor
Conditional formatting two cells based on a checkbox
I am trying to use a checked box to format 2 cells with strike through text. I can't quite figure out a conditional formatting rule. Any ideas? Thanks
2 Replies
Sort By
Set the cell link for each check box to the cell it's in, so for example the cell link of the first check box should be C3.
This will set the value of cell C3 to TRUE or FALSE depending on the state of the check box. If you don't want to see this, apply the custom number format ;;; to the cells with the check boxes.
Select A3:B14.
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 =$C3
Click Format...
On the Font tab, tick the Strikethrough check box.
Click OK, then click OK again.
- dls5uCopper ContributorThanks, Hans! You're the Bomb!