Find blank children and return another column for that row as 'join distinct'

Hi - hoping someone can help.
I have a parent row where I want to return: 'Complete' if all children have a value in that column, if any are blank, I want to return another column for that row.
If this is too complex I will settle for 'Complete' if all children have a value or 'Incomplete' if at least one child is blank.
See below for expected outcome:
this is the formula I was hoping would work for the full outcome but it's erroring:
=JOIN(COLLECT(CHILDREN([Fulfilment Country]@row), CHILDREN([Fulfilment Country]@row), ISBLANK(CHILDREN())), CHAR(10))
Many thanks for any help in advance.
Answers
-
OK - I have figured out a formula that works for my needs so have posted below. Would still be interested though if anyone has an answer for returning and collating from another row.
result: returns 'Pending' if at least one child is blank, or 'complete' if all have a text value.
=IF(COUNTIF(CHILDREN(), ISBLANK(@cell)) > 0, "Pending", "Complete")
or
=IF(COUNTIF(CHILDREN(), ISBLANK(@cell)) > 0, COUNTIF(CHILDREN(), ISBLANK(@cell)), "Complete")
result: returns the number of blank children if at least one child is blank, or 'complete' if all have a text value.
hope this helps.
-
Hi @melimob
Well-done! The first formula looks good 🙂
To return the country names where there's a blank child cell, try this:
=IF(COUNTIF(CHILDREN(), ISBLANK(@cell)) > 0, JOIN(COLLECT(CHILDREN([Fulfilment Country]@row), CHILDREN(), ""), CHAR(10)), "Complete")
Let me know if this works for you.
Cheers,
Genevieve
Need more information? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao!👋 | Global Discussions
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.7K Get Help
- 438 Global Discussions
- 152 Industry Talk
- 497 Announcements
- 5.3K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 77 Community Job Board
- 509 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 307 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!