# Import Artist - Title from filename

**URL:** https://community.mp3tag.de/t/import-artist-title-from-filename/56057
**Category:** Mac
**Created:** [January 25, 2022, 8:38pm UTC](https://community.mp3tag.de/t/import-artist-title-from-filename/56057 "2022-01-25T20:38:48Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![HumanJukeBoxDJMO](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/779978/32.png) [@HumanJukeBoxDJMO](https://community.mp3tag.de/u/HumanJukeBoxDJMO)
#### Post date: [January 25, 2022, 8:38pm UTC](https://community.mp3tag.de/t/import-artist-title-from-filename/56057/1 "2022-01-25T20:38:48Z")

</div>

If my "Filename" field has both the Artist - Title correctly formatted but all the other tag columns "Title, Artist, AlbumArtist" columns are blank, Is there a formula to take the information from the Filename and place it in its corresponding columns meaning with one action the program can "Copy the Filename, separate the information by the "-" then paste whats before the "-" to the "Artist" field then whats after the "-" to the "Title" field?

You know as I look at the picture I attached, I think a better question would be, what would the formula be if you wanted to take information either prior to "-" or after "-" in a field and add it to a selected field?

 ![Screen Shot 2022-01-25 at 2.30.04 PM](https://community.mp3tag.de/uploads/default/original/2X/0/0513526850e49ffb472778150c9dc125ed050689.jpeg)

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [January 26, 2022, 5:08am UTC](https://community.mp3tag.de/t/import-artist-title-from-filename/56057/2 "2022-01-26T05:08:18Z")

</div>

This is part of the Documentation at [Import Parts of the Filename to the Tag](https://community.mp3tag.de/t/rename-files-and-import-tags-from-files/51720#import-tags-from-files-4).

Can you have a look and see if this makes sense to you?

---

<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 25, 2022, 5:09am UTC](https://community.mp3tag.de/t/import-artist-title-from-filename/56057/3 "2022-02-25T05:09:05Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
