# Formula to be executed on all records

**URL:** <https://community.ragic.com/t/formula-to-be-executed-on-all-records/12570>\
**Category:** Support\
**Created:** [March 1, 2023, 3:42am UTC](https://community.ragic.com/t/formula-to-be-executed-on-all-records/12570 "2023-03-01T03:42:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![user72](https://community.ragic.com/user_avatar/community.ragic.com/user72/32/2323_2.png) [@user72](https://community.ragic.com/u/user72)\
**Post date:** [March 1, 2023, 3:42am UTC](https://community.ragic.com/t/formula-to-be-executed-on-all-records/12570/1 "2023-03-01T03:42:18Z")

</div>

I have added a formula to multiply quantity by the item cost. The formula works but I have to re-input the quantity for it calculate the value on each record. Is there a way that the formula can be forced to execute on all existing records?

---

<div class="post-metadata">

**Author:** ![jennyragic](https://community.ragic.com/letter_avatar_proxy/v4/letter/j/ba9def/32.png) [@jennyragic](https://community.ragic.com/u/jennyragic)\
**Post date:** [March 1, 2023, 4:37am UTC](https://community.ragic.com/t/formula-to-be-executed-on-all-records/12570/2 "2023-03-01T04:37:11Z")

</div>

Hi,

You may use [Formula Recalculation](https://www.ragic.com/intl/en/doc/18/Formulas#recalculation) to apply the formula change to all saved records.

---

<div class="post-metadata">

**Author:** ![user72](https://community.ragic.com/user_avatar/community.ragic.com/user72/32/2323_2.png) [@user72](https://community.ragic.com/u/user72)\
**Post date:** [March 3, 2023, 2:17am UTC](https://community.ragic.com/t/formula-to-be-executed-on-all-records/12570/3 "2023-03-03T02:17:35Z")

</div>

I have tried everything possible & still will not execute the formula please advise where I going wrong.

---

<div class="post-metadata">

**Author:** ![user72](https://community.ragic.com/user_avatar/community.ragic.com/user72/32/2323_2.png) [@user72](https://community.ragic.com/u/user72)\
**Post date:** [March 3, 2023, 2:55am UTC](https://community.ragic.com/t/formula-to-be-executed-on-all-records/12570/4 "2023-03-03T02:55:23Z")

</div>

Ok so I deleted all records from the database and re-imported the csv file and selected execute formulas on import. Work around is fine.
