# Calculating Volume By Filtered Items

**URL:** <https://forum.dynamobim.com/t/calculating-volume-by-filtered-items/35932>\
**Category:** Lists-Logic\
**Created:** [May 14, 2019, 9:32am UTC](https://forum.dynamobim.com/t/calculating-volume-by-filtered-items/35932 "2019-05-14T09:32:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicescriptmate](https://avatars.discourse-cdn.com/v4/letter/n/839c29/32.png) [@nicescriptmate](https://forum.dynamobim.com/u/nicescriptmate)\
**Post date:** [May 14, 2019, 9:32am UTC](https://forum.dynamobim.com/t/calculating-volume-by-filtered-items/35932/1 "2019-05-14T09:32:37Z")

</div>

Hi,

I’m trying to group elements that have the same material name and then calculate the total volume of each group and then export to excel.

I’ve managed to create a list that has each elements name and volume in a branch but i’m unsure how to actually go about grouping them together. I suspect this might be quite easy but pretty new to dynamo (come from a grasshopper background) so any advice / suggestions appreciated.

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/d/ed3eb4db8edb9912e44fea26e0482a72a6723502.png)

Cheers  
Rob

---

<div class="post-metadata">

**Author:** ![nicescriptmate](https://avatars.discourse-cdn.com/v4/letter/n/839c29/32.png) [@nicescriptmate](https://forum.dynamobim.com/u/nicescriptmate)\
**Post date:** [May 14, 2019, 11:49am UTC](https://forum.dynamobim.com/t/calculating-volume-by-filtered-items/35932/2 "2019-05-14T11:49:27Z")

</div>

For anyone looking for a similar issue, ended up sorting it out by creating by the below solution :

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/2/d2e9934d50c2db90fe4c4ad8503957187a0bad6a.png) ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/e/bea1b011b8406a24d467431dce655b90930d54d3.png)

doubt it’s the most elegant solution somehow but it works…
