How to automatically unceck a checkbox when anotherone is checked?
Hello!
So I have 2 checkbox columns, if the second one is checked the first one shouldn't be checked anymore, I tried to add an IF formula to the column specifying that argument but it didn't work.
Comments
-
How do the boxes get checked? If they are checked manually, it will delete any formula that is in the cell.
-
Yes exactly, they're checked manually, so I think there's no other solution. the problem is that if the user forgets to uncheck the first one after checking the second, it will mess up the calculation!
-
You could add in a helper Text type column and enter the following...
=IF(COUNTIFS([First Check Column]@row:[Second Check Column]@row, 1) = 2, "Must uncheck first box if second box is checked!", "")
This will show a blank column next to the checkboxes, but if both boxes are checked, the text within the quotes will appear. You can then couple that with conditional formatting to turn the helper cell Red and Bold and the box that needs unchecked red.
Once the box is unchecked, everything will go back to normal.
-
Paul,
Great workaround!
Best,
Andrée
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Hi Paul,
Thank you so much, this is a great workaround indeed.
It works perfectly! Although the message says just "Uncheck [Column]" to limit the space taken.
-
Thanks. I have used this and other variations of it quite a bit. My personal favorite is when I have a series of checkboxes. I'll use an INDEX/COUNTIFS combo to pull text from the first row based on how many boxes they have checked. Saves from having a huge nested IF with a bunch of quotes when you have 10 or 15 steps that just need checked off.
-
Happy to help.
And no worries on the space thing. My personal preference is something a little longer. I'll then use the wrap text feature. Between the conditional formatting bringing bold text and color to the cell, the wrapped text also makes the row much taller. Just one more way to bring attention to it. Haha
-
Yes, the INDEX/COUNTIFS is
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
What's really fun is an INDEX/MATCH/MATCH where you have an additional INDEX/MATCH used to pull the data for the first MATCH and another INDEX/MATCH used to pull the data for the second MATCH.
(I'm pretty sure I short circuited a few brain cells working on that particular beast. Hahaha)
-
I'm sure you did! I did it just by reading it. Interesting!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
I like to be able to dragfill, so I try to write formulas that are as flexible as possible. When you're comparing tables to other tables on different sheets to pull specific data, you have to get a little creative to keep from having to edit a bunch of individual formulas.
On the bright side, I have certainly learned a lot. I do remember how many times you've helped me get started too. Between you, Craig, and Mike, there is A TON of knowledge to be found here in the community. It's great!
-
Yes, I also always try to set it up as "future proof" as possible.
Yes, the Smartsheet Community and the knowledge and willingness to help and share is by far the best I've been a part of professionally.
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!