# Formula-level reusable functions

**URL:** <https://community.fibery.io/t/formula-level-reusable-functions/9858>\
**Category:** Ideas & Features\
**Created:** [October 21, 2025, 11:05am UTC](https://community.fibery.io/t/formula-level-reusable-functions/9858 "2025-10-21T11:05:25Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![myg\_ge](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/myg_ge/32/12457_2.png) [@myg\_ge](https://community.fibery.io/u/myg_ge)\
**Post date:** [October 21, 2025, 11:05am UTC](https://community.fibery.io/t/formula-level-reusable-functions/9858/1 "2025-10-21T11:05:25Z")

</div>

What would be really useful is also having reusable functions across formula fields. That would allow to overcome current UI-level limitations of presenting data while not requiring creating redundant formula-level piece of functionality over and over like this one:

```auto
ToText(Year(Deadline)) +
  If(
    Month(Deadline) < 10,
    "0" + ToText(Month(Deadline)),
    ToText(Month(Deadline))
  ) +
  If(Day(Deadline) < 10, "0" + ToText(Day(Deadline)), ToText(Day(Deadline)))

```

just to show date with leading zeros.

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [October 21, 2025, 11:08am UTC](https://community.fibery.io/t/formula-level-reusable-functions/9858/2 "2025-10-21T11:08:55Z")

</div>

We have a feature in the backlog specifically to allow custom formatting when converting dates to text, so do you have other examples of reusable functions that are lacking?

---

<div class="post-metadata">

**Author:** ![myg\_ge](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/myg_ge/32/12457_2.png) [@myg\_ge](https://community.fibery.io/u/myg_ge)\
**Post date:** [October 21, 2025, 12:22pm UTC](https://community.fibery.io/t/formula-level-reusable-functions/9858/3 "2025-10-21T12:22:31Z")

</div>

Hey Chris, yes. Also money.

> [@Option for 0 decimal places with Money format Number field](https://community.fibery.io/t/option-for-0-decimal-places-with-money-format-number-field/4941/8):
>
> It would be cool if I could put this into a function and re-use across formula fields…

> [@Option for 0 decimal places with Money format Number field](https://community.fibery.io/t/option-for-0-decimal-places-with-money-format-number-field/4941/7):
>
> If(  
> Float \>= 1000000,  
> ToText(Round(Float / 1000000, 1)) + “m”,  
> If(Float \>= 1000, ToText(Round(Float / 1000, 1)) + “k”, ToText(Float))  
> ) + “$”

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [October 21, 2025, 12:49pm UTC](https://community.fibery.io/t/formula-level-reusable-functions/9858/4 "2025-10-21T12:49:17Z")

</div>

That seems like a specific feature request related to showing decimals on UI with zero dp (without changing how many dps are stored).  
Anything else?

---

<div class="post-metadata">

**Author:** ![RonMakesSystems](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/ronmakessystems/32/14122_2.png) [@RonMakesSystems](https://community.fibery.io/u/RonMakesSystems)\
**Post date:** [October 21, 2025, 1:00pm UTC](https://community.fibery.io/t/formula-level-reusable-functions/9858/5 "2025-10-21T13:00:41Z")

</div>

I got one! Knowing the suffix of a number 1 → “st”, 2 → “nd” 3 → “rd”, etc. Relevant for dates, but could also be for other cases.

---

<div class="post-metadata">

**Author:** ![timothy](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/timothy/32/11812_2.png) [@timothy](https://community.fibery.io/u/timothy)\
**Post date:** [October 21, 2025, 3:11pm UTC](https://community.fibery.io/t/formula-level-reusable-functions/9858/6 "2025-10-21T15:11:13Z")

</div>

But I think the point here is not 1000 different ‘specific feature requests’ but the ability to solve our specific feature requests and then re-use it multiple times. I find myself using the same building blocks multiple times in formulas – and it would be great to just re-use them instead of having to re-create them each time (especially if I need to update them!)

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [October 21, 2025, 3:17pm UTC](https://community.fibery.io/t/formula-level-reusable-functions/9858/7 "2025-10-21T15:17:12Z")

</div>

Yeah, I get that. I am just thinking about the items that I already know might be in the backlog which might help.  
User-definable reusable formula functions would require a significant change in the technical implementation of the formula service, so I think it’s unlikely to happen any time soon, so I was hoping to lessen the pain in the short term.  
Plus, any example use cases help us to get a feel for what people are using Fibery for, which then helps us prioritise all different features in the most synergistic way.

---

<div class="post-metadata">

**Author:** ![timothy](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/timothy/32/11812_2.png) [@timothy](https://community.fibery.io/u/timothy)\
**Post date:** [October 21, 2025, 3:29pm UTC](https://community.fibery.io/t/formula-level-reusable-functions/9858/8 "2025-10-21T15:29:17Z")

</div>

Makes sense!
