Setting checkbox as true based on conditions of multiple columns
Hi! I am trying to set a formula that will check a checkbox based on conditions of multiple columns.
This is the formula that I am trying to use:
=IF((COUNTIFS([PMO: Contract requirements review]24:[PMO: Is customer source inspection required?]24, "complete")+countifs([PMO: Contract requirements review]24:[PMO: Is customer source inspection required?]24, "N/A"))<countA([PMO: Contract requirements review]24:[PMO: Is customer source inspection required?]24)+countblank([PMO: Contract requirements review]24:[PMO: Is customer source inspection required?]24),0,1)
I would like to for the checkbox to be checked if all columns read "complete" or "N/A".
Any assistance would be greatly appreciated 😀
Answers
-
Try this instead. Count how many are blank, and if that number equals zero, check the box.
=IF(COUNTIFS([First Column]@row:[Last Column]@row, @cell = "") = 0, 1)
-
All of the columns will have data in them. I am looking to only check the checkbox if the text contained in the columns is "complete" or "N/A".
=(COUNTIFS(B3:E3,"COMPLETE")+COUNTIFS(B3:E3,"N/A"))
This is a formula that works in excel to produce the results I need, but I am having a hard time translating it to Smartsheet.
-
Give this a shot to check the box
=IF(COUNTIFS([First Column]@row:[Last Column]@row, AND(@cell <> "Complete", @cell <> "N/A", @cell <> "")) = 0, 1)
-
Success! Kind of…
I used this formula and it is giving the desired result, mostly, but I would also like for it to not check the box if there are any blanks.. is that possible?
=IF(COUNTIFS([PMO: Contract requirements review]@row:[PMO: Create checklist for software deliverables]@row, AND(@cell <> "complete, @cell <> "N/A")) = 0, 1, 0)
-
Yes. Mine would do that.
-
This is how I have it input and it is still checking the checkbox where there are blanks.
-
Sorry. Flipped one of my operators. Try this:
=IF(COUNTIFS([First Column]@row:[Last Column]@row, AND(@cell <> "Complete", @cell <> "N/A", @cell = "")) = 0, 1)
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.1K Get Help
- 414 Global Discussions
- 221 Industry Talk
- 460 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!