Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I know there's no checkbox functionality in a Google Docs spreadsheet but I was wondering if there's a way to get equivalent functionality somehow. What I'm looking for is a one click enable/disable or toggle in some form.

The closest I've come is manually editing a cell to enter a 0 or 1 but I'm hoping there's a nicer pattern.

share|improve this question
Another good answer that applies here as well: webapps.stackexchange.com/a/58739 – Matthijs Wessels Jun 1 '15 at 10:34

The best checkbox solution I've seen so far is the one used in this template (Here's a public document created by the template that you can view without logging in to Google Drive).

They have two cells in an extra sheet with a character or image of an unselected checkbox and one of a selected checkbox. Then in the cell where you want to use the checkbox, set the data validation to "Items from a list" and "Create list from range" and select the two cells with the characters/images. You then get a dropdown in that cell where you can select either option.

This doesn't provide the one click on/off toggle, but it's pretty close.

Update: I just set the document to editable by anyone. Without that you wouldn't be able to see how the selection works.

share|improve this answer

I used Matthijs's solution which worked for me. I had a hard time following along and understanding his answer though so here's the step-by-step solution:

  1. Use this template
  2. Copy both of the checkboxes on the "Function" sheet
  3. Return to your Drive file and add another sheet
  4. Name the new sheet "Function"
  5. Paste both checkboxes into cells A1 and A2
  6. Copy the blank checkbox from A1
  7. Return to the sheet on your Drive file where you need the checkbox
  8. Paste the blank checkbox into the cell where you want to have a checkbox
  9. Select Data > Validation
  10. In the "Criteria" dropdown, select "List from a range"
  11. In the field next to that dropdown, enter "Function!A1:A2"
  12. Click "Save". The checkbox should now have a tiny triangle-shaped validation button located at the top of the checkbox cell.
  13. Copy the checkbox & paste into all other cells where you need a checkbox
share|improve this answer
It's great that you've offered a template, but will your answer still be useful if that link no longer works? – Al E. Oct 29 '15 at 19:23
Thanks for letting me know, I've updated the link, now anyone should be able to open it. – MelanieSazegar Oct 30 '15 at 15:54
What would be ideal is for you not to rely on a link as part of your answer; rather, also include instructions on how to set up a spreadsheet like your template. That way, in case you delete your Sheet in the future or something else happens to it, users can still make full use of your answer; feel free to keep the link there, though, as having access to a template does save people some effort. :) – SightSpirit Oct 30 '15 at 16:49
Good idea to make a write up like this. Beware that people are going to edit your template though. Mine keeps getting used by people for some sort of webshop catalogue :D – Matthijs Wessels Nov 30 '15 at 22:20
@MatthijsWessels yep, you are correct, people have already begun editing the template lol. Ah well, we tried! – MelanieSazegar Dec 2 '15 at 4:30

That was way too convoluted, there's a MUCH simpler way to do it, I've added another field "quick and easy checkboxes", a quick and easy way of doing it is to:

  1. Right click cell, select "Data Validation"
  2. Under Criteria, select "List of Items"
  3. In the list of items field, copy this --> ☐,☑ and paste it into the field
  4. You should now have a drop down list of both of the above options.

Voila! No extra sheets, no coding, nothing. If you want to get fancy you can create a "Conditional Formatting" option where ☑ squares are GREEN and ☐ squares are RED.

I have included a sample in the sheet you provided.

share|improve this answer
I was just about to post the same answer. – Erutan409 May 4 at 15:43
up vote 3 down vote accepted

Yes, it is possible. http://code.google.com/googleapps/appsscript/articles/bracket_maker.html has a good sample, including how to add a button to a spreadsheet to run some Google Apps Script in Section 4. This can then be used to write the 0/1 to a hidden cell.

share|improve this answer
Doesn't this approach only allow you to add buttons to the menu? – Matthijs Wessels Mar 6 '13 at 12:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.