Hei! :-) I have downloaded a dataset where I want annual data. However, the cells also include the date. So it is in a format like this:
1968-12-01
1968-12-02
(...)
2022-12-01
However, I want it to be like this:
1968
1969
(...)
2022
I tried to filter out the cells that do not include 12-01, because then I thought I will only get one observation each year. However, I think my code meant that 12-01 is the only thing that should be in the cell, not for example 2000 - 12-01. Does anyone know about a way to filter out the dates, and only get one observation per year? Or is that not possible? Best regards Mari