Parent cell return Data based off of Children Data
Hello,
I am trying to figure out how to put the following into a formula:
If values in any child rows include "In Progress" then populate parent as "In Progress",
otherwise...
If values in child rows do not include "In Progress" or Blank then populate parent as "Not Started".
otherwise...
If values in ALL child rows include "Complete" then populate parent as "Complete".
The column I am working in is a dropdown with 4 possible values mentioned above "Not Started", "In Progress", "Complete", "Awaiting Inspection."
Thank you.
Answers
-
Hello,
I think " If values in child rows do not include "In Progress" or Blank then populate parent as "Not Started" " it's wrong.
For example if alla values include "complete" and don't include "in progress", parent is "not started" and not "complete"
Can you explain me the second condition?
Thank you ;-)
-
Try something like this:
=IF(COUNTIFS(CHILDREN(), @cell = "Complete") = COUNTIFS(CHILDREN(), AND(@cell = "", @cell <> "")), "Complete", IF(COUNTIFS(CHILDREN(), @cell = "In Progress")> 0, "In Progress", "Not Started"))
The only thing the above does not account for is "Awaiting Inspection", so if you are able to provide the logic behind that status, we should be able to get it built in.
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.9K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 289 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!