# Can I calculate sum and display the result?

**URL:** <https://community.glideapps.com/t/can-i-calculate-sum-and-display-the-result/36634>\
**Category:** Ask for Help\
**Created:** [January 3, 2022, 1:40pm UTC](https://community.glideapps.com/t/can-i-calculate-sum-and-display-the-result/36634 "2022-01-03T13:40:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ikko\_slotech](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ikko_slotech/32/34933_2.png) [@Ikko\_slotech](https://community.glideapps.com/u/Ikko_slotech)\
**Post date:** [January 3, 2022, 1:40pm UTC](https://community.glideapps.com/t/can-i-calculate-sum-and-display-the-result/36634/1 "2022-01-03T13:40:43Z")

</div>

I want to display the sum of prices with same category.

[My condition]  
I am creating the wish list for my daily life with glide.  
On the list, each item has the data set, for example, category, price, and name.  
Categories are like lifestyle, hobby, and foods.

[What I want to do]

1. To calculate the sum of price.
2. To display the sum of each category’s cost.

Thank you for your cooperation.

---

<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:** [January 3, 2022, 1:46pm UTC](https://community.glideapps.com/t/can-i-calculate-sum-and-display-the-result/36634/2 "2022-01-03T13:46:36Z")

</div>

You can create a multiple Relation Column that links the category to itself (if it’s the in the same table) or from a category table to the list table. Then create a Rollup Column that uses that relation to sum the prices within that same category.
