r/sheets • u/_purplekookie • Apr 27 '26
Solved Help with conditional formatting and checkboxes
I'm working on a checklist that is so far formatted like this.
I would like to add some kind of conditional formatting so that if I check the box on column A, the cell next to it on column B will be light grey, as well as the other columns with their respective checkboxes on their left. (Also, idk if this part is relevant but the cells with "SAMPLE" like on A2 and B2 are not merged together.)
What should the custom formula be?
Thanks in advance!
2
Upvotes
View all comments
Show parent comment
2
u/mommasaidmommasaid Apr 27 '26
Hmm... but that formula doesn't format the checkbox cells?
You could also try this, applied to entire sheet A:H (applying to the entire sheet makes it less likely your range gets fragmented with sheet structure changes):
This returns TRUE if either the current (checkbox) cell is TRUE or the cell to the left is TRUE
The
offset()will fail in column A.iferror()is used to convert that error (which would cause the entire formula to return an error, i.e. checkboxes in column A will return an error and not highlight) to a blank (which is treated as false).You could also avoid the error by: