Formula column for Parent Rows only

Hello,
I want to use a formula column for parent rows that calculates the % remaining of POs we're tracking. I want the cells in the column for children to be blank and not display a result for % remaining. Is this possible? If so, can you assist me with the formula?
I am using this formula for the parent rows: =(Amount@row - Balance@row) / Amount@row but need to add in the logic to blank out the children row cells.
Thanks
Best Answer
-
Hi @BB2791
I hope you're well and safe!
Try something like this.
=IFERROR(IF(COUNT(CHILDREN([PO Number]@row)) > 0, (Amount@row - Balance@row) / Amount@row), "")
Did that work/help?
I hope that helps!
Be safe, and have a fantastic week!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up, Awesome, or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Answers
-
Hi @BB2791
I hope you're well and safe!
Try something like this.
=IFERROR(IF(COUNT(CHILDREN([PO Number]@row)) > 0, (Amount@row - Balance@row) / Amount@row), "")
Did that work/help?
I hope that helps!
Be safe, and have a fantastic week!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up, Awesome, or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Hi @Andrée Starå yes, that worked! Thank you and have a nice day
-
Hi again @Andrée Starå I realized that I would like to add to the formula you provided a provision that if a parent row doesn't have a child row, it should still calculate the percentage (in which case that will always be 100%). Is that possible?
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.2K Get Help
- 462 Global Discussions
- 155 Industry Talk
- 505 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 81 Community Job Board
- 516 Show & Tell
- 35 Member Spotlight
- 3 SmartStories
- 308 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!