# merge (2) different fields

**URL:** https://community.mp3tag.de/t/merge-2-different-fields/15092
**Category:** General Discussion
**Created:** [October 10, 2013, 8:14am UTC](https://community.mp3tag.de/t/merge-2-different-fields/15092 "2013-10-10T08:14:33Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![fohrums](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/8c91f0/32.png) [@fohrums](https://community.mp3tag.de/u/fohrums)
#### Post date: [October 10, 2013, 8:14am UTC](https://community.mp3tag.de/t/merge-2-different-fields/15092/1 "2013-10-10T08:14:33Z")

</div>

I'm trying to merge %LABEL% & %PUBLISHER% and seperate by "; " problem is there is no option to.

I've tried this code but it doesn't add it just completely replaces it 😳 :

[http://i.imgur.com/KiG34lu.jpg](http://i.imgur.com/KiG34lu.jpg)

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [October 10, 2013, 8:21am UTC](https://community.mp3tag.de/t/merge-2-different-fields/15092/2 "2013-10-10T08:21:51Z")

</div>

Use this code:  
%LABEL%; %PUBLISHER%

---

<div class="post-metadata">

### Author: ![fohrums](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/8c91f0/32.png) [@fohrums](https://community.mp3tag.de/u/fohrums)
#### Post date: [October 10, 2013, 8:38am UTC](https://community.mp3tag.de/t/merge-2-different-fields/15092/3 "2013-10-10T08:38:51Z")

</div>

Thanks did this the trick but in my case it was vice versa, so:  
[  
 ](http://i.imgur.com/5W87VPa.jpg)[http://i.imgur.com/5W87VPa.jpg](http://i.imgur.com/5W87VPa.jpg)

one problem now. Even if there is no %LABEL% field the "; " will be added at the end of the %PUBLISHER% tab. Would I need to define an "$if2" function?

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [October 10, 2013, 9:31am UTC](https://community.mp3tag.de/t/merge-2-different-fields/15092/4 "2013-10-10T09:31:23Z")

</div>

Code:  
%PUBLISHER%$if2(; %label%,)
