# How do you calculate the sum of such virtual values?

**URL:** <https://community.glideapps.com/t/how-do-you-calculate-the-sum-of-such-virtual-values/36391>\
**Category:** Ask for Help\
**Created:** [December 27, 2021, 5:30pm UTC](https://community.glideapps.com/t/how-do-you-calculate-the-sum-of-such-virtual-values/36391 "2021-12-27T17:30:10Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [December 27, 2021, 6:50pm UTC](https://community.glideapps.com/t/how-do-you-calculate-the-sum-of-such-virtual-values/36391/7 "2021-12-27T18:50:09Z")

</div>

then you have to create relations to these numbers and rollup-sum these relations

> [@How to sum up different amounts for each item?](https://community.glideapps.com/t/how-to-sum-up-different-amounts-for-each-item/36209/2):
>
> you need to relate items to sold items, then use the rollup column to sum that relation remember… sum relation, not a lookup, I put lookup there just for better understanding what is in the sold sheet… you can also use this technique to count sold items, get average or range …

---

_[View the full topic](https://community.glideapps.com/t/how-do-you-calculate-the-sum-of-such-virtual-values/36391)._
