Here's a formula to create the example collection that you posted.
ClearCollect(
colHolidays,
{ Date: "01.01.2023", Person: "Michael", created: "01.02.2023" },
{ Date: "01.01.2023", Person: "Michael", created: "01.03.2023" },
{ Date: "01.01.2023", Person: "Michael", created: "01.04.2023" },
{ Date: "01.01.2023", Person: "Michael", created: "01.05.2023" },
{ Date: "01.01.2023", Person: "Michael", created: "01.06.2023" },
{ Date: "01.02.2002", Person: "Michael", created: "01.06.2023" },
{ Date: "01.01.2023", Person: "Anna", created: "01.02.2023" },
{ Date: "01.01.2023", Person: "Anna", created: "01.03.2023" },
{ Date: "01.02.2002", Person: "Anna", created: "01.06.2023" }
);
This formula will build a collection that returns the records for a person with only a single date.
ClearCollect(colOddRecords,
Filter(AddColumns(
GroupBy(
colHolidays,
Date,
Person,
GroupedData
),
RecordCount,
CountRows(GroupedData)
), Mod(RecordCount,2) =1)
);
Taking this grouped data, you can retrieve the created date (and other fields related to the last created record for the person) like so.
ClearCollect(colResult,
AddColumns(colOddRecords,
created,
First(Sort(GroupedData,created,SortOrder.Descending)).created)
);
This will give the result that you're looking for.