In need of a formula that takes the amount in the Children rows and divides by a Parent row total
I am in need of a formula that takes the amount in the children rows and divides by a Parent row (ideally would make a column formula). My current formula for the attached is the below (one of many formulas tried).
=IF(CHILDREN([Merchant Revised Casepack Quantity]@row > 0, [Merchant Revised Casepack Quantity]@row / (PARENT)([Merchant Revised Casepack Quantity]@row, ())
I also tried =[Merchant Revised Casepack Quantity]@row / PARENT([Merchant Revised Casepack Quantity]@row) but did not work either.
Any help is appreciated!
Best Answer
-
Try the below, it should work as a column formula too
=IF(AND(PARENT([Merchant Revised Casepack Quantity]@row) > 0, [Merchant Revised Casepack Quantity]@row > 0), [Merchant Revised Casepack Quantity]@row / PARENT([Merchant Revised Casepack Quantity]@row), "")
Answers
-
Try the below, it should work as a column formula too
=IF(AND(PARENT([Merchant Revised Casepack Quantity]@row) > 0, [Merchant Revised Casepack Quantity]@row > 0), [Merchant Revised Casepack Quantity]@row / PARENT([Merchant Revised Casepack Quantity]@row), "")
-
Thank you for responding so quickly! I will try the formula you provided, appreciate your help!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.5K Get Help
- 448 Global Discussions
- 145 Industry Talk
- 481 Announcements
- 5.1K Ideas & Feature Requests
- 85 Brandfolder
- 152 Just for fun
- 73 Community Job Board
- 492 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 304 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!