# merge title and artist field

**URL:** https://community.mp3tag.de/t/merge-title-and-artist-field/12427
**Category:** Support
**Created:** [August 23, 2011, 5:01pm UTC](https://community.mp3tag.de/t/merge-title-and-artist-field/12427 "2011-08-23T17:01:51Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Beluna](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/ed655f/32.png) [@Beluna](https://community.mp3tag.de/u/Beluna)
#### Post date: [August 23, 2011, 5:01pm UTC](https://community.mp3tag.de/t/merge-title-and-artist-field/12427/1 "2011-08-23T17:01:51Z")

</div>

How do I mergelcombine the artist field 2 the title field?

4 compilation cd I would like to read as follows:

Title: Cantaloop  
Artist: US3

Title: Cantaloop - US3

---

<div class="post-metadata">

### Author: ![stevehero](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stevehero/32/337_2.png) [@stevehero](https://community.mp3tag.de/u/stevehero)
#### Post date: [August 23, 2011, 6:36pm UTC](https://community.mp3tag.de/t/merge-title-and-artist-field/12427/2 "2011-08-23T18:36:40Z")

</div>

> [@Beluna](#):
>
> How do I mergelcombine the artist field 2 the title field?

Try this, it works but if you run this twice you end up with:  
_%title%:_ "Cantaloop - US3 - US3"

_Action type:_ **Format value**  
_Field:_ **TITLE**  
_Formatstring:_ **%title% - %artist%**

**###EDIT###**

This one works as many times as you want without appending to the _%title%_ like above:

_Action type:_ **Format value**  
_Field:_ **TITLE**  
_Formatstring:_ **$if($and(%TITLE%,%ARTIST%),$if($eql($right(%TITLE%,$len( - %ARTIST%)), - %ARTIST%),%TITLE%,%TITLE% - %ARTIST%),%TITLE%)**

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [February 9, 2026, 12:23pm UTC](https://community.mp3tag.de/t/merge-title-and-artist-field/12427/3 "2026-02-09T12:23:18Z")

</div>


