# Deduct 1 to from each year

**URL:** <https://community.mp3tag.de/t/deduct-1-to-from-each-year/45241>\
**Category:** Support\
**Created:** [April 25, 2019, 8:38pm UTC](https://community.mp3tag.de/t/deduct-1-to-from-each-year/45241 "2019-04-25T20:38:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gsa999](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/c6cbf5/32.png) [@gsa999](https://community.mp3tag.de/u/gsa999)\
**Post date:** [April 25, 2019, 8:38pm UTC](https://community.mp3tag.de/t/deduct-1-to-from-each-year/45241/1 "2019-04-25T20:38:57Z")

</div>

HI  
I have realised that I have got the year wrong on a number of albums and it should be the year earlier. Is there an action I can create that can deduct 1 from each year for multiple albums

---

<div class="post-metadata">

**Author:** ![ryerman](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ryerman/32/5285_2.png) [@ryerman](https://community.mp3tag.de/u/ryerman)\
**Post date:** [April 25, 2019, 9:00pm UTC](https://community.mp3tag.de/t/deduct-1-to-from-each-year/45241/2 "2019-04-25T21:00:55Z")

</div>

![subtract%201%20from%20year](https://community.mp3tag.de/uploads/default/original/2X/4/434f35efc2d95dae623bacab1926e5b9928a3a08.png)

Action: Format value  
Field: `YEAR`  
Format string: `$sub(%year%,1)`

---

<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:28pm UTC](https://community.mp3tag.de/t/deduct-1-to-from-each-year/45241/3 "2026-02-09T12:28:03Z")

</div>


