# Any way to Apply Formula or Calculations while populating custom fields in Mautic version 3.2.0?

**URL:** <https://forum.mautic.org/t/any-way-to-apply-formula-or-calculations-while-populating-custom-fields-in-mautic-version-3-2-0/27124>\
**Category:** Product Support\
**Created:** [February 22, 2023, 2:59pm UTC](https://forum.mautic.org/t/any-way-to-apply-formula-or-calculations-while-populating-custom-fields-in-mautic-version-3-2-0/27124 "2023-02-22T14:59:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![riyajoshi01](https://avatars.discourse-cdn.com/v4/letter/r/ed8c4c/32.png) [@riyajoshi01](https://forum.mautic.org/u/riyajoshi01)\
**Post date:** [February 22, 2023, 2:59pm UTC](https://forum.mautic.org/t/any-way-to-apply-formula-or-calculations-while-populating-custom-fields-in-mautic-version-3-2-0/27124/1 "2023-02-22T14:59:02Z")

</div>

I am using Mautic Version 3.2.0 and importing the contacts from the CSV File. I have created some custom fields in mautic that need to be populated with data after calculating some other fields. For instance, ‘lead\_age’ is a field that should be filled with age value result obtained from the calculations on ‘lead\_birthdate’ field.

Any suggestive help, clues, or link to guides that address this issue would be greatly appreciated. Thank you! 🙂

---

<div class="post-metadata">

**Author:** ![asad786](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/asad786/32/8990_2.png) [@asad786](https://forum.mautic.org/u/asad786)\
**Post date:** [March 14, 2023, 1:06pm UTC](https://forum.mautic.org/t/any-way-to-apply-formula-or-calculations-while-populating-custom-fields-in-mautic-version-3-2-0/27124/2 "2023-03-14T13:06:28Z")

</div>

You can put the value calculated for ‘lead\_age’ field, and the value will be calculation of ‘current date - lead\_birthdate’ and then import on mautic, the data will successfully popped out.
