# Append value to Name with formula

**URL:** <https://community.fibery.io/t/append-value-to-name-with-formula/4500>\
**Category:** Get Help\
**Created:** [May 24, 2023, 9:37am UTC](https://community.fibery.io/t/append-value-to-name-with-formula/4500 "2023-05-24T09:37:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fnagy](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/fnagy/32/6813_2.png) [@fnagy](https://community.fibery.io/u/fnagy)\
**Post date:** [May 24, 2023, 9:37am UTC](https://community.fibery.io/t/append-value-to-name-with-formula/4500/1 "2023-05-24T09:37:20Z")

</div>

Hello,

Is it possible to create a formula that appends to Name the value of a single-select field?

For example: i create a new entity called “Feature 1” and assign it a type “core” - the formula must rename the entity as “Feature 1 (core)”. If the type changes to “non-core” the name should change to “Feature 1 (non-core)”.

Thanks!

---

<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:** [May 24, 2023, 9:42am UTC](https://community.fibery.io/t/append-value-to-name-with-formula/4500/2 "2023-05-24T09:42:07Z")

</div>

I suggest, you would need to use an automation.  
It should trigger when the single-select value changes, and then can update the name field using a formula.  
Note: You probably need to use a clever find/replace formula rather than appending the name of the select field. Otherwise, you might end with ‘Feature 1 (core)(non-core)’

---

<div class="post-metadata">

**Author:** ![fnagy](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/fnagy/32/6813_2.png) [@fnagy](https://community.fibery.io/u/fnagy)\
**Post date:** [May 24, 2023, 11:41am UTC](https://community.fibery.io/t/append-value-to-name-with-formula/4500/3 "2023-05-24T11:41:46Z")

</div>

It worked! Thank you 🙂

Solution here:

```auto
If(Find([Step 1 Feature].Name,"(") > 1,ReplaceRegex([Step 1 Feature].Name,"\(.*?\)","(" + [Step 1 Feature].[Feature Type].Name + ")"),[Step 1 Feature].Name + " (" + [Step 1 Feature].[Feature Type].Name + ")")

```

---

<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:** [December 20, 2024, 1:27pm UTC](https://community.fibery.io/t/append-value-to-name-with-formula/4500/4 "2024-12-20T13:27:33Z")

</div>


