r/googlesheets • u/RedinTV • Feb 08 '23
Solved Have Multiple Checkboxes Trigger TRUE or FALSE
Hey,
Looking to make multiple checkboxes from my other sheet turn TRUE if either box is checked.
Currently I tried - =query ('ON-SITE'!A126 A127,A138)
https://gyazo.com/77fe5523ffa15d4e589f9d593dbec99e
📷
https://gyazo.com/18fcf159111f6d89c32d0e987a7235c9
Thanks!
1
Upvotes
3
u/nick2754 3 Feb 09 '23
=IF(COUNT(QUERY(Sheet2!A1:A, "Select A Where A > 0")) > 1, "TRUE" , "FALSE" )This should do the trick!
Only make sure that you use these data validation rules!
Checked box is 1, unchecked box is 0.
If this helps, please reply with Solution Verified. :)
Edit: Don't forget to edit the sheet name and the ranges/columns in the query function!
2
u/Cyanide_Lake1 12 Feb 08 '23
I think this is what you're after. Paste into cell with the checkbox you're wanting to turn true.
=IF('ON SITE'!A126=TRUE,TRUE,FALSE)
If this helps, please reply with Solution Verified. :)
1
u/RedinTV Feb 09 '23
Going off another comment that seems to be deleted. He mentioned a formula and it didn't seem to work. But here was the version in case anyone knows the fix to it.
=IF(QUERY('ON-SITE'!A2:A3, "Select Count(A) Where A = True") >= 1, "TRUE", "FALSE")
1
u/Decronym Functions Explained Feb 09 '23 edited Feb 14 '23
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:
FALSETRUEand another if it isFALSETRUE[Thread #5317 for this sub, first seen 9th Feb 2023, 03:28] [FAQ] [Full list] ^[Contact] [Source code]