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.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!