Hi,
I would like to track and count hours in a year or a custom period, like from 01 February 2023 until 31 January 2024. Then there is a contingent for that period of free hours, and I like to move the rest per period to the next period. I’m going to call it “year” for convenience…
First approach was: I have a tab per year, let’s say 2022, 2023, 2024. I’m going to duplicate that tab and clear the entries for every next year like 2024. I would need to make a dynamic reference to the previous tab like (logically spoken) [thisTab-1].C3 to get the rest from the previous year. I failed with that approach as I’m not sure if I can get a reference to the previous years tab…
I learned, it’s a better way to separate data and calculation. So I started having a big first tab “data list” getting a plain list of hours, 1 entry per line, increasing, no year boundaries. Then I’m going to create tabs for 2022, 2023, 2024, showing the sorted and cut part of the data list by reference.
I tried doing that by Pivot-Table but it doesn’t seem to be the right feature for that.
Now I tried Filters.
As Libreoffice doesn’t know a function like =FILTER(Datenliste.A:E; YEAR(Datenliste.A:A) = 2024), I tried Advanced filter, having the option to specify the start and end of the period in every tab. Is that the right approach?
But that would mean, in a reference tab called “2023” I would need to first do a big “referencing all” area and then doing the filtering on that, right? But what if the datalist is increasing?