Work backwards with your IF statements. Nested IFs stop on the first true value, so if it makes it to the next one, then the previous IF(s) MUST be false.<\/p>
=IF(Close@row = 1, "Close", <\/strong><\/p>
Starting with this means that everything that follows automatically assumes that Close@row is NOT checked.<\/p>
Anything coming after this portion automatically assumes that Close@row and [Group 5]@row are both unchecked. So we continue with this logic that "if it has made it this far then everything before it must be false" and work (almost) the rest of your requirements in using the same logic.<\/p>
Now that we only have one option left (because to get this far everything prior must be false which means all of those boxes are unchecked), we can just use the "if false" portion of the final IF statement to say that if everything prior is false, "Group 1". Then we close out all of the IF statements all at once and your formula is complete.<\/p>
=IF(Close@row = 1, "Close", IF([Group 5]@row = 1, "Group 5", IF([Group 4]@row = 1, "Group 4", IF([Group 3]@row = 1, "Group 3", IF([Group 2]@row = 1, "Group 2", "Group 1")))))<\/strong><\/p>","bodyRaw":"[{\"insert\":\"Work backwards with your IF statements. Nested IFs stop on the first true value, so if it makes it to the next one, then the previous IF(s) MUST be false.\\n\\n=\"},{\"attributes\":{\"bold\":true},\"insert\":\"IF(Close@row = 1, \\\"Close\\\", \"},{\"insert\":\"\\nStarting with this means that everything that follows automatically assumes that Close@row is NOT checked.\\n\\n=IF(Close@row = 1, \\\"Close\\\", \"},{\"attributes\":{\"bold\":true},\"insert\":\"IF([Group 5]@row = 1, \\\"Group 5\\\", \"},{\"insert\":\"\\nAnything coming after this portion automatically assumes that Close@row and [Group 5]@row are both unchecked. So we continue with this logic that \\\"if it has made it this far then everything before it must be false\\\" and work (almost) the rest of your requirements in using the same logic.\\n\\n=IF(Close@row = 1, \\\"Close\\\", IF([Group 5]@row = 1, \\\"Group 5\\\", \"},{\"attributes\":{\"bold\":true},\"insert\":\"IF([Group 4]@row = 1, \\\"Group 4\\\", IF([Group 3]@row = 1, \\\"Group 3\\\", IF([Group 2]@row = 1, \\\"Group 2\\\", \"},{\"insert\":\"\\nNow that we only have one option left (because to get this far everything prior must be false which means all of those boxes are unchecked), we can just use the \\\"if false\\\" portion of the final IF statement to say that if everything prior is false, \\\"Group 1\\\". Then we close out all of the IF statements all at once and your formula is complete.\\n\\n=IF(Close@row = 1, \\\"Close\\\", IF([Group 5]@row = 1, \\\"Group 5\\\", IF([Group 4]@row = 1, \\\"Group 4\\\", IF([Group 3]@row = 1, \\\"Group 3\\\", IF([Group 2]@row = 1, \\\"Group 2\\\", \"},{\"attributes\":{\"bold\":true},\"insert\":\"\\\"Group 1\\\")))))\"},{\"insert\":\"\\n\"}]","format":"rich","dateInserted":"2020-05-12T13:06:04+00:00","insertUser":{"userID":45516,"name":"Paul Newcome","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Paul%20Newcome","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/082\/nQPUTVFKKWDJ2.jpg","dateLastActive":"2023-06-23T19:11:32+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"displayOptions":{"showUserLabel":false,"showCompactUserInfo":true,"showDiscussionLink":false,"showPostLink":false,"showCategoryLink":false,"renderFullContent":false,"expandByDefault":false},"url":"https:\/\/community.smartsheet.com\/discussion\/comment\/249788#Comment_249788","embedType":"quote"}">
https://community.smartsheet.com/discussion/comment/249788#Comment_249788