Multi Drop Down Formula
Hi everyone,
I am trying to put together a formula for an ethics check process.
The user needs to select all of the items in the drop down list in order for the client to pass the ethics check.
I would like to set a formula that automates Red, Amber, Green.
I would like the following;
Green if ALL of the options are selected.
Amber if 1 the options is selected
Red if 2 or more of the options are selected
I'm not sure where I am going wrong in the below formula.
=IF(CONTAINS([Check 1]@row = "Does not provide pay day lending or equivalent services"), ([Check 1]@row = "Is not a political party"), ([Check 1]@row = "Is not based in a country/territory known to have acted in violation of human rights"), ([Check 1]@row = "Does not manufacture or sell arms"), ([Check 1]@row = "Does not manufacture, sell or provide surveillance products or services"), ([Check 1]@row = "Does not manufacture, sell or provide adult entertainment goods or services"), ([Check 1]@row = "Does not manufacture, sell or provide tobacco or tobacco replacement services"), "Green")
Please could someone advise?
Thank you in advance
Answers
-
-
Brilliant! Thank you Paul - this works.
Here's the complete formula for future ref
=IF(COUNTM([Check 1 Criteria]@row) = 7, "Green", IF(COUNTM([Check 1 Criteria]@row) = 6, "Yellow", IF(COUNTM([Check 1 Criteria]@row) = 5, "Yellow", IF(COUNTM([Check 1 Criteria]@row) = 4, "Yellow", IF(COUNTM([Check 1 Criteria]@row) = 3, "Yellow", IF(COUNTM([Check 1 Criteria]@row) = 2, "Yellow", IF(COUNTM([Check 1 Criteria]@row) = 1, "Yellow", IF(COUNTM([Check 1 Criteria]@row) = 0, "Red"))))))))
-
Try this simplified version...
=IF(COUNTM([Check 1 Criteria]@row) = 7, "Green",Β IF(COUNTM([Check 1 Criteria]@row) = 0, "Red", "Yellow"))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.9K Get Help
- 474 Global Discussions
- 208 Use Cases
- 517 Announcements
- 5.6K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 84 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!