# Variables in formulas

**URL:** <https://community.fibery.io/t/variables-in-formulas/1277>\
**Category:** Ideas & Features\
**Tags:** formulas\
**Created:** [January 1, 2021, 5:13am UTC](https://community.fibery.io/t/variables-in-formulas/1277 "2021-01-01T05:13:49Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Sev](https://avatars.discourse-cdn.com/v4/letter/s/90db22/32.png) [@Sev](https://community.fibery.io/u/Sev)\
**Post date:** [October 21, 2025, 11:41am UTC](https://community.fibery.io/t/variables-in-formulas/1277/5 "2025-10-21T11:41:23Z")

</div>

> [@face\_with\_monocle Your opinion needed. Automations in Fibery (limitations and opportunities)](https://community.fibery.io/t/your-opinion-needed-automations-in-fibery-limitations-and-opportunities/9819/30):
>
> What would be really useful is also having shared 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.

Yes, given that [JS in Formulas has been rejected](https://community.fibery.io/t/rejected-allow-javascript-in-formulas/960), shared functions in formulas, somewhat like “named formulas” in Coda, would be a helpful improvement for Fibery architects.

---

_[View the full topic](https://community.fibery.io/t/variables-in-formulas/1277)._
