# Max year of all the tracks

**URL:** https://community.mp3tag.de/t/max-year-of-all-the-tracks/50587
**Category:** Support
**Created:** [October 26, 2020, 8:37pm UTC](https://community.mp3tag.de/t/max-year-of-all-the-tracks/50587 "2020-10-26T20:37:30Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [October 27, 2020, 2:56pm UTC](https://community.mp3tag.de/t/max-year-of-all-the-tracks/50587/4 "2020-10-27T14:56:10Z")

</div>

I doubt that this is possible as you say

> [@dev91618](#):
>
> previous file's year

MP3tag only knows the properties of the current file - and not those of the previous or the next file.  
You may use an export script ... but writing that and getting the data back in probably takes just as long as doing it manually.

Here is a thread that does some calculation over several files - perhaps you can get something out of that export script:

> [@calculate average bitrate](https://community.mp3tag.de/t/calculate-average-bitrate/19540/4):
>
> Hmm, you may do such mathematics within an export script, which can create for example a CSV text file, which provides all the related data like filename and the other calculated data, for later import. As a starting point ... to calculate average bitrate ... $filename($getEnv('USERPROFILE')'\Desktop\Mp3tag.Report.Bitrate.txt',UTF-8) $loop(%\_path%)$puts(SUMBITRATE,$add($get(SUMBITRATE),%\_bitrate%))$puts(SUMTRACKS,$if(%\_bitrate%,$add($get(SUMTRACKS),1),$get(SUMTRACKS)))$loopend() 'Max Tracks …

---

_[View the full topic](https://community.mp3tag.de/t/max-year-of-all-the-tracks/50587)._
