Google Sheets - Check or Uncheck All Checkboxes

Поделиться
HTML-код
  • Опубликовано: 22 авг 2024

Комментарии • 91

  • @davidfernandezbajo
    @davidfernandezbajo 3 года назад +20

    Great as always. Selecting the column and hitting the spacebar gets it also done.

  • @bludreem121
    @bludreem121 2 года назад +6

    I need to thank you. I'm new to javascript, and I've thrown myself in over my head on a project at work. At least half a dozen times over the last week, when I've searched for the solution to a problem, one of your videos came up. They've helped me implement script, and not just a simple copy of what you demonstrate, but because of your explanations, I've been able to expand beyond them. I can't thank you enough.

  • @JetMaxim666
    @JetMaxim666 3 года назад +5

    This is literally the video I've been needing for the past 2 months. I'm subbed for life dude! Keep it up!

    • @smartersean
      @smartersean 3 года назад

      I'm subbing just on the basis of your comment!

  • @bocobox
    @bocobox 3 года назад +3

    I'm loving your tutorial of App script. They are very clean and organized. I'm getting more understanding of Java Script with the help of your video. Thanks.

  • @MrBatmanLima
    @MrBatmanLima 3 года назад +3

    Not only instructive, but teached very nicely and with patience !

  • @sharitambasco9780
    @sharitambasco9780 3 года назад +3

    Great vid, thanks. What I really appreciate is how you demonstrated more than one option in the script editor for getting the sheet.

  • @teresalgeorge
    @teresalgeorge 3 года назад +3

    I cannot express how easy your tutorials are!! THANK YOU!

  • @dhritirajdas6876
    @dhritirajdas6876 3 года назад +4

    Got a great compliment in the company thanks to your app script videos. Developed some automation project in google sheet using app script. Keep up the good work man. Really love your work. Also recommend many friends of mine too.🔥🔥🔥

  • @anliteacher9147
    @anliteacher9147 3 года назад +1

    DUDE THIS IS THE BEST TUTORIAL VIDEO I HAVE EVER SEEN! ♥ You explain so well and your voice is not rushed and very clear! ♥ i lov eyou

  • @ksardari
    @ksardari 3 года назад +3

    As usual a very nice video, thanks a lot!
    I did the same not long time ago. I put a checkbox at the top Cell G1 and used the function onEdit to watch whether G1 is changed. Then I read the Value of G1 and and write it to all Cells as you did.

  • @learningstuff5679
    @learningstuff5679 2 года назад +1

    Thank you so much! This tutorial was awesome!! Very clear and easy to follow along. Subscribed.

  • @melenev
    @melenev 3 года назад +4

    Your tutorials are fantastic! I recently did something similar but used an OnEdit function with a separate Checkbox when checked, all boxes set to True, and when unchecked all boxes set to False

    • @marcvanmaastricht4638
      @marcvanmaastricht4638 3 года назад +1

      That was exactly what I was thinking while watching the tutorial! That’s even more beautiful.

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  3 года назад +1

      Nice. I myself rarely use onEdit, because it's slow and I find it annoying :)

    • @marcvanmaastricht977
      @marcvanmaastricht977 3 года назад

      Ok, and is there another/better way to use a google sheets checkbox to get the same result?

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  3 года назад

      Not really. That's why I prefer a button or a menu item to click on. That way users expects to wait after clicking the button.

  • @ZoneDoctor
    @ZoneDoctor Год назад

    Thank you for your great instructional video, there are several ways to accomplish similar things on the web, however, yours was most complete and allowed me to do exactly what I wanted to do. I'm using a Google Worksheet to improve clinical documentation of treatment performed (no identifiable data is ever transferred to Google). One push of the 'Clear Form' button that I was able to create clears all checkboxes on both worksheets I use to improve documentation since every EMR/EHR software really misses the mark and doesn't allow providers to put together information nicely. Sure, there is a lot of work behind the end result (in my case), however, without you I'd still be struggling to find a solution to easily clear data. Thanks again!!!

  • @user-xc6cb5pm9h
    @user-xc6cb5pm9h Месяц назад

    Very understandable for a non coder. I am looking for a how to take Google Sheet check boxes in a online form like document with Yes and No checkboxes side by side. Where a user cannot check both the Yes and No boxes. Do you have any ideas how to make that practical for me to implement? PS, there are many such Y/N corresponding boxes.

  • @giancarloschafloqueguzman9918
    @giancarloschafloqueguzman9918 3 года назад +3

    I know that I can give like 👍 before opening the video👌

  • @fahimedits3
    @fahimedits3 3 года назад +1

    Sir is it possible for every row? Can we check all boxes in every row? for example : i have 50 row and 5 different column to check everytime.

  • @NourishMoveRestReflect
    @NourishMoveRestReflect 9 месяцев назад

    Really helped me out! Thanks!

  • @wouterdekoning
    @wouterdekoning 3 года назад +1

    Great tutorial, how can I check boxes horizontally? I'm making a cost overview and want to select only the people who are involved with the expenditure. If everyone is involved then I want a 'check all' box, which checks all the boxes horizontally.

  • @kimberlycannon4435
    @kimberlycannon4435 5 месяцев назад

    Thank you so much! It worked!!!!!!!

  • @shaunsullivan4611
    @shaunsullivan4611 9 месяцев назад

    love this, well done!

  • @somalutionbodyrevolution2660
    @somalutionbodyrevolution2660 2 года назад

    What a cool guide! Thanks!

  • @Joel.guerrero
    @Joel.guerrero Год назад

    Great Video! Question: I am using this for a 30-day Habit checker so I have 30 rows, not just one. It works fine for 1 row, but what can I do to make it uncheck for all 30 of my rows?

  • @kimberlycannon4435
    @kimberlycannon4435 5 месяцев назад

    Question??? The script is working and when I click the drawing it unchecks all of the checkboxes, HOWEVER, it also adds lines to the bottom of my spreadsheet each time. I'm not sure what I did wrong but if you know and can offer some advice I'd appreciate it.

  • @markanthonyremollo423
    @markanthonyremollo423 2 года назад

    Works super awesome. I just have a problem with the execution, Because of my mistake on some letters. It need to be exact big or small. But I dont get it why it need to be exact
    But all over its working now its so good

  • @tanhongwai6352
    @tanhongwai6352 4 месяца назад

    is the button created in the sheet able to be executed in mobile version?

  • @lifecoachclo
    @lifecoachclo Год назад

    Do you have a tutorial on something similar in Google Sheets like resetting dropdown cells as a bulk action? I've looked at Stackoverflow and other areas and can't find a clear explanation

  • @user-ml4li7ru3g
    @user-ml4li7ru3g Год назад

    Can you provide any information or another video demonstrating how to get this to run on a tablet? I am able to perform this function on windows machine but when I access the sheet on a tablet the script will not run. Thank you!

  • @LWPNOW
    @LWPNOW Год назад

    Hey how do I add a string so it unchecks boxes in multiple tabs with 1 button, not just 1 tab. I have 16 tabs and I want to uncheck them all with a master button. Is this possible?

  • @iconcept2750
    @iconcept2750 Год назад

    Hello. Tell me, please, how can I make it so that when you click on one checkbox, the other (specified) checkboxes are turned off. And when specifying another flag, other flags were also turned off, taking into account the first flag.
    For example, I need to select only one checkbox from the list of checkboxes for calculation. Thanks for the answer!

  • @tomsawkins9828
    @tomsawkins9828 3 года назад +1

    I like using a custom menu so buttons don’t get in the way

  • @guilhermewilliamrochatavar600
    @guilhermewilliamrochatavar600 Год назад

    Is it possible to add more than one Range? For example, more than one column!

  • @eliasreinhard7260
    @eliasreinhard7260 5 месяцев назад

    How can you use the button on the mobile version of sheets

  • @mayurparmar
    @mayurparmar Год назад

    Thank you this helps :)

  • @telltheirstories
    @telltheirstories 3 года назад +1

    You rock!

  • @risandiusman6086
    @risandiusman6086 3 года назад

    hi, i am very impressed with your whole video on spreadsheets, can you make a video tutorial on how to create column and row borders with an app script?

  • @ShaneKimrey
    @ShaneKimrey Год назад +1

    I followed your script to the letter and still have an error message that told me that GetRange wouldn't work and get null value. I have done everything you did and still can't get past his error. Can you help?

    • @MiokiBeans
      @MiokiBeans Год назад

      happened to me too. tried it multiple times on clean sheets. has the code script been updated?

  • @jhicinternational
    @jhicinternational 3 года назад +1

    thanks

  • @cameronharper1477
    @cameronharper1477 3 года назад

    Can this be done but instead of a range it just unchecks all boxes within the sheet? Stuck on how to get that to work

  • @ImAlphaWolf
    @ImAlphaWolf 2 года назад

    how would i do it if i have horizontal boxes too ?

  • @coleenhill19046
    @coleenhill19046 3 года назад

    I'm typing my code exactly as you have, but when I test the function, I get an error that says "Cannot read property 'getSheetByName' of null"

  • @Meolimo
    @Meolimo 3 года назад +1

    love it thnks

  • @callumtravaglini6153
    @callumtravaglini6153 Год назад

    Amazing video, thank you! Where is the code?

  • @oOoScarecrow31oOo
    @oOoScarecrow31oOo 2 года назад

    How to manage those check boxes in Google Docs ?

  • @Zelpex
    @Zelpex 2 года назад

    Is there a way to automaticly run a script for example every Thursday?
    I want to untick every box on Thursday at 0:01 AM

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  2 года назад

      Yes, add a trigger support.google.com/docs/answer/7665004?hl=en&co=GENIE.Platform%3DDesktop

  • @tohin7719
    @tohin7719 2 года назад

    THANKS, THIS WAS AWSOME FOR BEGINNER LIKE ME. CAN I KNOW HOW TO UNCHECK OR CHECK ALL THE TICK BOX MORE THAN ONE TAB IN GOOGLE SHEET???

  • @catdogorboth7087
    @catdogorboth7087 2 года назад

    I'm currently making a list of parts for the game car mechanic simulator so when I'm playing I can just check the parts I need to buy then go ahead and buy them instead of going back and forth so I'm hoping this works for me, thanks!

  • @pichit.raetai
    @pichit.raetai 3 года назад

    Thank you, How to allow only 1 check in specific range?

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  3 года назад

      You'll need to use onEdit function and have it uncheck all the other boxes. The issue with onEdit is that it runs really slowly and user experience is usually weird.

  • @radinebranch7129
    @radinebranch7129 Год назад

    IS THERE NO OTHER WAY TO PROGRAM IT WITHOUT CODING? I WAS HOPING FOR A WORK AROUND WITH EITHER CONDITIONING FORMST OR DATA VALIDATION

  • @GDubbleBubble
    @GDubbleBubble Год назад

    Rather than creating your own button, is there a way to assign that script to another new checkbox? this will all you to just check or uncheck the checkbox for all the checkboxes.

  • @feroscyp8250
    @feroscyp8250 3 года назад +1

    cool

  • @ThienTran-xl4ey
    @ThienTran-xl4ey 3 года назад

    This is great, but it doesn't work with the Google Spread sheet app on the phone. I created a workout checklist and I was trying to figure out how to uncheck all with one tap. I did this and it worked on the PC , but when I tried it on the app it won't do anything other than giving you the option to delete the Image.

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  3 года назад

      Somebody mentioned doing this with a checkbox and onEdit trigger. That should work on your mobile app.

    • @tanyarichey1742
      @tanyarichey1742 2 года назад

      @@ExcelGoogleSheets I would love a video explaining how to exactly that. Hint. Hint.

  • @heyomg9453
    @heyomg9453 Год назад

    I just wonder why I dont have the option of script editor on my google sheet
    😮‍💨

  • @apolovzla_ccs
    @apolovzla_ccs 3 года назад

    Did Google solve the delete problem with the select buttons? the check buttons could be deleted by the user.

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  3 года назад

      No, why would they fix anything? :) You can still delete them.

    • @apolovzla_ccs
      @apolovzla_ccs 3 года назад

      @@ExcelGoogleSheets It is annoying to do all the job to program the spreadsheet and in one second the user deletes all the checks list buttons, just because "he didn't know" 😒 Thanks a lot for your response and great videos pal 👍

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  3 года назад

      To be honest, I don't think we can blame the user for this one :)
      I would think that hitting delete should uncheck the checkbox, not delete it.

    • @apolovzla_ccs
      @apolovzla_ccs 3 года назад

      @@ExcelGoogleSheets totally true

  • @raffkhokon2067
    @raffkhokon2067 2 года назад

    How can you select multiple sheets?

  • @Snappy27893
    @Snappy27893 3 года назад

    Instead of check box can we assign the value to a cell

  • @pagevpetty
    @pagevpetty 2 года назад

    My 'Tools' is not showing a 'Script Editor' . Ok, it's in my 'Extensions'

  • @kristineoliverio3979
    @kristineoliverio3979 2 года назад

    Hi! I tried these steps and when I wanted to run it the result was always "Syntax error: SyntaxError: Unexpected end of input line: 4 files: Code.gs" can you help me where did I go wrong? Thank you.

  • @DailyTech029
    @DailyTech029 Год назад

    getRange is not working

  • @TonyHerlambang
    @TonyHerlambang 3 года назад

    I try this script:
    1 function checkBoxes(){
    2 const ssemail = SpreadsheetApp.getActiveSpreadsheet();
    3 const ws = ssemail.getSheetbyName("Send Email");
    4 ws.getRange(5,8,ssemail.getLastRow()-1).setvalue(true);
    }
    but get error massege :
    TypeError: ssemail.getSheetbyName is not a function on line 3
    anyone can help

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  3 года назад +2

      It's uppercase By, not by

    • @TonyHerlambang
      @TonyHerlambang 3 года назад

      thanks, noe my script works same like your video.

    • @TonyHerlambang
      @TonyHerlambang 3 года назад

      function checkBoxes1by1(Check){
      const ssemail = SpreadsheetApp.getActiveSpreadsheet();
      const ws = ssemail.getSheetByName("Broadcast Email");
      ulang = ws.getLastRow-4
      For (var i = 5 ; i < ulang ; ++i){
      if (ws.getRange(i,1).getValue()""){
      ws.getRange(i,4).activate()
      ws.getActiveRangeList().insertCheckboxes()
      ws.getRange(i,4).setValue(Check)
      } else {
      next i
      }
      }
      }
      I make a project like this:
      col A : Email Adress
      Col B : First name
      Col C : Message
      Col D : Checkbox
      my Header in Row 4
      I want to make button 1, if email, first name, and message not emty give checkbox True, else checkbox False or not show checkbox
      button 2, if row have checkbox valeu true, then sent email. (not yet)
      I try my script above but not work. Could you help?

  • @marcosfilho1815
    @marcosfilho1815 3 года назад

    Next time, put the code on the description. Thanks!

  • @mdmasummia8570
    @mdmasummia8570 3 года назад

    There is no God but Allah. Hazrat Muhammad (peace be upon him) is the Messenger of
    Allah.
    (আল্লাহ এক আর কোন মাবুদ নেই। হযরত মুহাম্মদ (সাঃ) আল্লাহর প্রেরিত রাসূল।)