Return a value of 1 if two boxes are checked
Hello!
I am looking for the formula to return a value of 1 if two boxes in the same row are checked. Please see the example below.
If both boxes in DU and Scheduled are checked, the formula returns a value of 1. If only 1 box is checked, it returns a 0.
Any help is much appreciated!
Best Answers
-
Try
=IF(IF([DU]1 = 1, 1, 0) + IF([Scheduled]1 = 1, 1, 0) = 2, 1, 0)
-
Hi @amanda medina
To add to John's excellent answer.
Here's another option.
Try something like this.
=IF(COUNTIF(DU@row:Scheduled@row; 1) <= 1; 0; 1)
The same version but with the below changes for convenience.
=IF(COUNTIF(DU@row:Scheduled@row, 1) <= 1, 0, 1)
Depending on your country/region, you'll need to exchange the comma to a period and the semi-colon to a comma.
Did that work?
I hope that helps!
Be safe and have a fantastic day!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please help the Community by marking it as the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!
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.
Answers
-
Try
=IF(IF([DU]1 = 1, 1, 0) + IF([Scheduled]1 = 1, 1, 0) = 2, 1, 0)
-
Hi @amanda medina
To add to John's excellent answer.
Here's another option.
Try something like this.
=IF(COUNTIF(DU@row:Scheduled@row; 1) <= 1; 0; 1)
The same version but with the below changes for convenience.
=IF(COUNTIF(DU@row:Scheduled@row, 1) <= 1, 0, 1)
Depending on your country/region, you'll need to exchange the comma to a period and the semi-colon to a comma.
Did that work?
I hope that helps!
Be safe and have a fantastic day!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please help the Community by marking it as the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!
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.
-
It worked! Thank you both so much!!
-
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
- 63K Get Help
- 380 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 305 Events
- 34 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!