Sum of Parents
I keep track of pending transactions in a real estate office, and have each month as a parent and the closings scheduled as children under the correct month. On the parent row of each month I've got totals showing for the children. This all works great.
What I can't figure out is how to total the parents. At the bottom of the sheet I have a total row. I need this row to show the total of all pending transactions. Is there a formula that will SUM the parents totals together? Currently I've been having to click on the cell within each parent row and adding them together. I'm always having to do this over and over, due to me moving / deleting rows etc.
Maybe I'm thinking too hard about this and making it more complicated then it should be. Any suggestions would be appreciated.
Thanks for your time!
Comments
-
Hi Jen,
A good way to do this is to add a new row at the top of your sheet, and indent all the rows beneath it. This effectively makes all your current parent rows the children of a new top-level parent row. Then you can enter =SUM(CHILDREN()) in that top row to get what you are looking for.
You may find that multiple levels of hierarchy come in handy in other situations as well.
Hope this helps!
Daniel -
Are you summing the parent rows in the same column as the children?
Do you have a column that you could add some sort of indicator to declare a parent row?
If you sum the parent row in a different column (maybe create a parent sum category) then you could just sum the parent row as in my screenshot.
- Create a parentsum column.
- In the first parent cell type =SUM(CHILDREN(Cost1)) -- to sum the cost of the children of the cost column.
- Drag that formula down and you will see that only the parent row gets a sum...
- In your rollup area you can then choose =sum(parentrow:parentrow)
Put your rollup formula in a different column or you'll get a circular reference.
See screenshot.
-
Thank you both for taking the time to help me out! : )
-
Absolutely. Glad I could be of assistance.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 414 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!