Highlighting multiple groups using checkboxes in your Google Sheets document makes it easier to read separate groups in your spreadsheet. This is especially useful when you are making a checklist and want to section each checklist off, making it easier for you to keep track.
Table of Contents
Google Sheets has a built-in Data Validation and Conditional Formatting features that make data visualization easier. It helps spreadsheets become organized and easily understood – whether the data is numbers or words.
For example, you are shopping for a big party and you are keeping track of each category of goods you need for the occasion. The list could get so long and you can lose yourself in your list. If only there was a way to keep track of everything!
So, how should we go about it?
To accomplish our goal, we have some options we could consider. We can use a combination of
LOOKUP, and even
REGEXMATCH functions of Google Sheets.
How to Create Checkboxes in Google Sheets
Before we start highlighting any rows, you should know where to find the checkbox option in Google Sheets.
- On the menu bar, pick Data, and from the dropdown menu, choose “Data Validation”.
- In the criteria dropdown menu, go all the way down and pick “Checkbox”.
- That should do it, go ahead and click “Save”.
- There should be a checkbox on the first section of the checklist. Note that when you look at the value of the checkbox, it’s false if unchecked, and true if checked.
- Do this for the rest of the list and sections.
How to Highlight Multiple Groups and Control Checkboxes with a Helper Column in Google Sheets
Here is the first option you can choose: put in a “Helper” column.
- Insert the following formula where you want to start the helper column. Make sure to change the reference arrays as needed.
ARRAYFORMULAwill immediately fill out the rest of the included items.
- After that, choose Format > Conditional Formatting.
- Choose the array of your list.
- Choose Custom Formula from the dropdown menu.
- Insert the following formula, and click done!
- Test your highlights now – you will notice checking the box highlights the group that you want!
How to Highlight Multiple Groups and Control Checkboxes with the REGEXMATCH Function in Google Sheets
Want to do this without putting in a helper function? There is another option for you, by turning the Helper column into a REGEXMATCH Function in the Conditional Formatting formula.
- Choose Format > Conditional Formatting.
- Choose the array of your list, and choose Custom Formula from the dropdown menu.
- Insert the following formula and click done!
- Test your highlights now – it works just like the previous function!
There you have it! You are now able to highlight multiple groups and control checkboxes in Google Sheets as you wish, without disturbing the integrity of your data.
Now that you have a grasp on how to combine data visualization styles in your spreadsheets, you can combine this with other Google Sheets formulas to make really powerful data documents!
Use the link below to use our spreadsheet sample: