# How to sum the total cost?

**URL:** <https://forum.adalo.com/t/how-to-sum-the-total-cost/41499>\
**Category:** Get Help\
**Created:** [August 22, 2023, 1:08am UTC](https://forum.adalo.com/t/how-to-sum-the-total-cost/41499 "2023-08-22T01:08:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![valter.silva](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/valter.silva/32/30924_2.png) [@valter.silva](https://forum.adalo.com/u/valter.silva)\
**Post date:** [August 22, 2023, 1:08am UTC](https://forum.adalo.com/t/how-to-sum-the-total-cost/41499/1 "2023-08-22T01:08:35Z")

</div>

Hi there,  
I want to display the total cost of an order item.  
My takeout has add-ons, some add-ons have an extra cost, so when the user select one of them, it should add to the total cost. However, for some reason, my custom formula it’s not displayed on the screen until the user selects all the add-ons. I’m expecting to display the menu item price initially and provide updates as the customer selects the add-ons.

My custom formula (all fields are numbers):

 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/b/7/b7fb6f7a6588db25f79d52ba442c5d48ec6de0dd.png)

The last two `Sum Price` are each a list, one for salads and another for meats.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [September 1, 2023, 1:09am UTC](https://forum.adalo.com/t/how-to-sum-the-total-cost/41499/2 "2023-09-01T01:09:31Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
