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
- 65.3K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 85 Brandfolder
- 150 Just for fun
- 72 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 302 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!