Formula to check a box if a PARTIAL string is present in a specific cell in a descendant row.
Hey Folks!
I have a working formula to check a box in a parent row if a condition is met in a descendent row. In this case, if the row "Type" is "Action Item". This is working and the formula is as follows:
=IF(COUNTIFS(DESCENDANTS(Type@row ), "Action Item") > 0, 1, 0)
This works well because the cell type is a drop down that allows only 1 selection.
I am now looking to do the same thing but for a drop down cell that allows multiple selections. I need the formula to be able to detect the string "Action Item", even when the cell has multiple dropdown selects attributed to it. I know I need to do something (maybe with CONTAINS?), but I cannot quite get the formula to work.
Thank you!
Best Answer
-
@Phil Yorkville Close with Contains, but you'll want to use HAS() for a multi dropdown.
=IF(COUNTIFS(DESCENDANTS(Type@row ), has(@cell,"Action Item")) > 0, 1, 0)
Darren Mullen, Author of: Smartsheet Architecture Solutions
Get my 7 Smartsheet tips here
Take your Smartsheet knowledge to the next level and become an expert. Join the Smartsheet Guru Elite
Answers
-
@Phil Yorkville Close with Contains, but you'll want to use HAS() for a multi dropdown.
=IF(COUNTIFS(DESCENDANTS(Type@row ), has(@cell,"Action Item")) > 0, 1, 0)
Darren Mullen, Author of: Smartsheet Architecture Solutions
Get my 7 Smartsheet tips here
Take your Smartsheet knowledge to the next level and become an expert. Join the Smartsheet Guru Elite
-
@Darren Mullen Works like a charm. Thanks a million for the quick response.
-
@Phil Yorkville Thanks for the follow up! Glad it worked :D
Darren Mullen, Author of: Smartsheet Architecture Solutions
Get my 7 Smartsheet tips here
Take your Smartsheet knowledge to the next level and become an expert. Join the Smartsheet Guru Elite
Help Article Resources
Categories
Check out the Formula Handbook template!