banner



How To Add Checkboxes To Google Sheets

Watch Video – Google Sheets Checkbox

Google Sheets has been adding some great functionalities lately. Information technology recently added a way to easily insert a checkbox (tick box) in any jail cell with a single click.

Note that I will exist using the terms 'Checkbox' and 'Tick Box' interchangeably in this article. Information technology'southward more unremarkably known equally a Google Sheets checkbox simply some people call information technology a tick box.

While inserting the checkbox is super easy (every bit yous'll see later on in this article), what'south impressing is the way you tin apply it.

Yous can hands create dynamic lists and charts where the user tin can simply click on the checkbox and y'all can program your data/charts to update.

I will show you a couple of examples of how to put a checkbox in Google Spreadsheets.

A Checkbox in Google Sheets Vs Checkmark

Before I get into the mechanics of inserting and using a checkbox/tick box in Google Sheets, let me quickly cover the difference betwixt a checkbox and a checkmark.

A checkmark is a symbol that you insert as text within the cell. It doesn't take any interactivity and can be used merely as a symbol or a bullet point. You can have text earlier or afterwards a checkmark.

A checkbox, on the other manus, is interactive. While information technology is bars to a cell, you can click on information technology and it will modify the land. And so if it'southward unchecked and you click on it, information technology will be checked (and vice versa).

Note that you tin not have any text earlier or after a checkbox (tick box) in Google Sheets. Yous tin only have the checkbox and nothing else.

Inserting a Google Sheets Checkbox (Tick Box)

Below is How to brand a cheque box in Google Sheets:

  1. Select the cell in which you want to insert the Google Sheet checkbox  (tick box)
  2. Click the 'Insert' option
  3. Click on the 'Checkbox' choice.

The above steps would insert a checkbox in the selected cell. In case you have selected multiple cells, checkboxes will be added to all the selected cells.

Notation that in case yous have whatever text or formula in a jail cell and you insert a checkbox in it, Google Sheets volition remove the text/formula and supervene upon it with the checkbox.

Formatting a Bank check Marking on Google Sheets

Now that you know how to insert a checkbox in Google Sheets, the next step is to format it.

Since a checkbox is a part of the cell, you tin format it just like whatever other cell.

For example, y'all can apply a color to the cell and the checkbox will change the color from gray to the selected color. Similarly, you can also change the font in example you want bigger checkboxes.

Also, since the checkbox is a part of the prison cell, you tin can sort and filter these.

For example, if you have a list of tasks with checkboxes in adjacent cells, yous tin can select the unabridged range and sort the list alphabetically. This will likewise sort the checkboxes in the selected range.

How Does the Checkbox in Google Sheets Work

One time y'all have inserted the checkbox in a jail cell, you can click on information technology to check it and click on it again to uncheck information technology (it works as a toggle).

While you see a checkbox in the cells in Google Sheets, these are actually either TRUE or FALSE. And then you can think of a tick box as a 1000oogle Sheets true imitation checkbox.

  • If the checkbox is checked, the value is Truthful
  • If the checkbox is not checked, the value is Simulated

You tin really see this yourself by selecting any cell that has the checkbox and pressing the F@ key (or looking at the formula bar). You will run across the value the checkbox represents, which would be either Truthful or Imitation.

Bottom line – when you insert a checkbox, you simply insert Truthful when information technology's checked and FALSE when it'due south not checked.

The amazing thing about this is that now you tin can utilise these TRUE/False values in the formulas. For example, I tin can accept a list of items and I can employ the checkbox to mark an item and complete. I tin can besides count the total number of completed items past simply counting the value of TRUEs in the list.

You can do some really cool things with checkboxes in Google Sheets – such every bit:

  • Create a to-do list and mark tasks as done/consummate.
  • Highlight specific data points based on selection (such as top/lesser x).
  • Create Interactive charts in Google Sheets.

Permit's go through each of these examples in detail and see the different ways of using a checkbox in Google Sheets.

Example 1: Add Checkboxes to Google Sheets for Interactive To-Practice Lists

With checkboxes in Google Sheets, y'all can create a to-do list or a checklist where as soon every bit you click on the checkbox in a cell, it volition mark the item as consummate.

Below is an case of a completed to-exercise listing with checkboxes.

To do list with a checkbox in Google Sheets

In the above instance, you lot can click on the checkbox to mark an item/task as completed. It uses conditional formatting to highlight the cell with the job in green and utilise a strikethrough format to it.

When you check any of the checkboxes, the value in the cell changes to TRUE. This value is and then used in Conditional formatting to highlight the cell and employ the strikethrough format.

Below are the steps to create this type of interactive checklist and then highlight the completed tasks/items:

  1. Enter the tasks/items in column A and insert the checkboxes in column B in side by side cells.
  2. Select the cells in Column A (the ones that accept the items in it).
  3. Click the Format push button in the card.
  4. Click the 'Conditional Formatting' choice.
  5. In the Conditional Formatting pane that opens, click on the 'Format cells if' drop-downwards.
  6. Click on 'Custom formula is' choice.
  7. Enter the following formula: =$B2
  8. Specify the format (color and the strike-through format).

You can also use a formula to quickly get the count of tasks that are completed. The below formula would give this:

= COUNTIF ( B2:B8 , Truthful )

Instance 2: Highlight Data Using Google Sheets Add together Check Box Functionality

You can use the checkbox to brand your reports/dashboard visually appealing and like shooting fish in a barrel to read.

Below is an example where as shortly as y'all select whatever of the checkboxes, Google Sheets highlights the data in the table.

Highlight Cells that match a criteria using checkbox

This over again uses conditional formatting which is dependent on the value of the cell that has the checkbox. If the value is True, the specified conditional format is applied and if the value is Imitation, the format is not practical.

In the higher up instance, as presently equally I select the checkbox for greater than 85, it instantly changes the color of the cells in column B if the value is greater than 85.

In case you desire to create something similar, here are the steps:

  1. Insert the checkbox (and specify the criteria for it as text in the next jail cell)
  2. Select the cells in Cavalcade B (the ones that have the marks).
  3. Click the Format push button in the menu.
  4. Click the 'Conditional Formatting' selection.
  5. In the Conditional Formatting pane that opens, click on the 'Format cells if' drop-down.
  6. Click on 'Custom formula is' option.
  7. Enter the following formula: =AND($E$3,B2>=85)
  8. Specify the format when marks are more than 85 (I have used green color in the above example).
  9. Click Done.
  10. Click on Add together New Rule.
  11. Click on the 'Format cells if' drop-down.
  12. Click on 'Custom formula is' choice.
  13. Enter the post-obit formula: =AND($E$4,B2<35)
  14. Specify the format when marks are more than 35 (I take used reddish color in the above example).
  15. Click Done.

The AND formula used in the steps in a higher place checks for two conditions:

  • Whether the cell with checkbox is checked or not (if checked the value is TRUE)
  • Whether the cell has a value that meets the criteria (greater than 85 or less than 35)

When both of these weather condition are met, the cells are highlighted based on the value in it.

Example iii: Create Dynamic Charts using Checkbox

In most cases, charts derive their values from the cells in the worksheet.

And by using a checkbox, yous can make these cells evidence dynamic values. This means that the values tin can update/alter based on whether a checkbox is checked or non.

This likewise allows united states to create dynamic charts that are dependent on the checkbox selection.

For case, beneath I take a dataset where I have the profit margin values of a company for three years.

Data for creating a dynamic chart

I tin apply the above dataset and combine information technology with the checkbox functionality to create something equally shown below:

Dynamic Chart Using Checkbox in Google Sheets

Notation that the above chart updates as soon equally I check or uncheck the box for 2019 or 2020F. This blazon of charts can be really useful when you have multiple data series and yous want the user to have the flexibility to only see the data that'south useful for them.

This can be fabricated possible and the chart information is dependent on the prison cell value of the checkbox. When the checkbox is checked the value is TRUE, else it's FALSE.

This is then used to create a dataset that is dynamic and simply shows values when the corresponding checkbox for checked. If the checkbox is not checked, information technology doesn't show the information and the nautical chart doesn't show the line for it (as shown bel0w).

Making the dataset dynamic and dependent on tick boxes

In the above example, I have created a copy of the original dataset, but this copied dataset is also dependent on the checkbox cell value. And so, if the 2019 checkbox is checked, the information for 2019 will exist populated in the 2d dataset, else it will testify blank.

And since I am using the 2d dataset (the one at the lesser) to create the nautical chart, the chart itself becomes dynamic.

The first pace in creating something like this is to create the 2nd dataset – one which is dependent on the checkbox.

To practise this, I have used the beneath formulas.

For 2018 data

          =          B2        

For 2018 data, I need all the original information points, as these will always be visible in the nautical chart. And then I have used a simple reference to the original data (you lot can also copy and paste the original information if you want).

For 2019 data

          =          IF          (          $H$3          ,          B3          ,          ""          )        

The IF formula checks whether the checkbox in prison cell H3 is checked or not. If it's is checked, it returns TRUE, and the original data point is returned past the IF formula. But if the checkbox is unchecked, the cell H3 returns FALSE and the IF formula returns a blank cell.

Since bare cells are not plotted in the chart, you don't run into anything in the chart when the checkbox for that series is non checked.

For 2020 data

          =          IF          (          $I$3          ,          B4          ,          ""          )        

The same logic works for the 2020 data serial, making it dependent on the checkbox in cell I3.

Once you have this new dataset that's dependent on the checkboxes, you can use this to create the chart.

In this case, I am using a combination chart in Google Sheets, where the 2018 value is shown as columns and 2019 and 2020F values as lines.

Apply Information Validation to Add together Custom Values to Checkboxes

You can use the checkboxes to indicate values. To practice this:

  1. Right-click on the jail cell with the checkbox
  2. Navigate to More than cell deportment > Information validation
    A screenshot showing where data validation is
  3. Make sure the value in the Criteria dropdown menu is set to Checkbox
    A screenshot showing the checkbox option in the data validation menu
  4. Check the Utilise custom cell values box and input the values you want to employ and click Salve
    A screenshot showing where to input custom values in Checkbox dat validation

You tin also use a similar process to add conditional formatting to the cells by entering the Conditional formatting menu instead of Data validation.

Add Checkboxes in Google Sheets Mobile

This works similarly to in a browser, you lot only take to:

  1. Select the cells you want to add together checkboxes to
  2. Tap the three dots bill of fare
  3. Select Data validation
  4. In the criteria dropdown, select checkbox

Copying and Deleting the Checkboxes

Since a checkbox is a function of the cell in Google Sheets, you can re-create and paste it merely similar a regular prison cell.

When you copy and paste a jail cell (or range of cells) with a checkbox, it volition insert the checkbox in the pasted cells in the same state as the copied ane. So if yous have a checkbox that checked, it will paste i that is checked.

To delete a checkbox from a cell (or a range of cells), simply select the cells and hit the Delete key.

Also, note that in case you select a cell that has a Google Sheets checkbox and type something in information technology, the new text volition replace it.

You may as well like the following Google Sheets articles:

  • How to Insert BULLET POINTS in Google Sheets
  • How to Insert a Caste Symbol in Google Sheets
  • How to Indent Text in Google Sheets
  • How to Wrap Text In Google Sheets
  • How to Delete Empty Rows in Google Sheets
  • How to Create a Drop-Downwardly List in Google Sheets?
  • How to Insert an Image in a Cell in Google Sheets
  • How to Count Checkbox in Google Sheets

How To Add Checkboxes To Google Sheets,

Source: https://spreadsheetpoint.com/checkbox-google-sheets/

Posted by: scottuporthe.blogspot.com

0 Response to "How To Add Checkboxes To Google Sheets"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel