# Help with multi level sums

**URL:** https://community.glideapps.com/t/help-with-multi-level-sums/19940
**Category:** Ask for Help
**Created:** [December 16, 2020, 4:49am UTC](https://community.glideapps.com/t/help-with-multi-level-sums/19940 "2020-12-16T04:49:43Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Justin\_Hays](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/justin_hays/32/5630_2.png) [@Justin\_Hays](https://community.glideapps.com/u/Justin_Hays)
#### Post date: [December 16, 2020, 4:49am UTC](https://community.glideapps.com/t/help-with-multi-level-sums/19940/1 "2020-12-16T04:49:43Z")

</div>

I have 3 glide tables organized into a multi-level setup with the workout-weeks table at the top level, which has multiple workout-days, and workout-days has multiple workout-exercises.

Each exercise in workout-exercises is done for a certain number of sets and belongs to a category.

I need to sum up the number of sets per category per workout-day and workout-week and I’m unsure the best way to go about doing this.

Hoping someone can help!

---

<div class="post-metadata">

### Author: ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)
#### Post date: [December 29, 2020, 8:38pm UTC](https://community.glideapps.com/t/help-with-multi-level-sums/19940/2 "2020-12-29T20:38:31Z")

</div>

I assume you already have relations from one sheet to the other sheets? I would think that you can create a rollup on each parent sheet that sums the data through the relation. So sheet 1 would have a relation to sheet 2 and sheet 2 would have a relation to sheet 3. Sheet 2 would have a rollup that sums the related data in sheet 3. Sheet 1 would have a rollup that sums the data in the rollup created in sheet 2.
