# Summation of elements in sublists

**URL:** <https://forum.dynamobim.com/t/summation-of-elements-in-sublists/4056>\
**Category:** Lists-Logic\
**Created:** [May 19, 2016, 10:06am UTC](https://forum.dynamobim.com/t/summation-of-elements-in-sublists/4056 "2016-05-19T10:06:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tobias\_Barnes\_Hofmei](https://avatars.discourse-cdn.com/v4/letter/t/e47c2d/32.png) [@Tobias\_Barnes\_Hofmei](https://forum.dynamobim.com/u/Tobias_Barnes_Hofmei)\
**Post date:** [May 19, 2016, 10:06am UTC](https://forum.dynamobim.com/t/summation-of-elements-in-sublists/4056/1 "2016-05-19T10:06:01Z")

</div>

In my project I have various walls. Some contain the same materials. For further analysis I wish to calculate the totals for each material. For that reason I grouped the list by key. However, I am not certain how to proceed in calculating the material total in each of the sublists. Does anybody know a solution how to go about that?

![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/0/0d9584d69c1904834e9fc340d220f55fb5a788da.png)

---

<div class="post-metadata">

**Author:** ![Vincent\_Olthuis](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vincent_olthuis/32/8543_2.png) [@Vincent\_Olthuis](https://forum.dynamobim.com/u/Vincent_Olthuis)\
**Post date:** [May 19, 2016, 3:04pm UTC](https://forum.dynamobim.com/t/summation-of-elements-in-sublists/4056/2 "2016-05-19T15:04:55Z")

</div>

Hello Tobias,

I would suggest this workflow!  
 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/b/bb80804501ffec6adebf53785aac1044eaa5ad6f.png)

Vincent.

---

<div class="post-metadata">

**Author:** ![Tobias\_Barnes\_Hofmei](https://avatars.discourse-cdn.com/v4/letter/t/e47c2d/32.png) [@Tobias\_Barnes\_Hofmei](https://forum.dynamobim.com/u/Tobias_Barnes_Hofmei)\
**Post date:** [May 20, 2016, 12:32pm UTC](https://forum.dynamobim.com/t/summation-of-elements-in-sublists/4056/3 "2016-05-20T12:32:29Z")

</div>

Splendid. Thank you Vincent.
