Hi
I'm trying to do a count of people first using a process within a calendar year but perhaps it is best to look at the problem in smaller steps. The log will contain older data but it is only 2024 data that I am currently interested in. I see the data that I have inherited contains multiple names occasionally against a date. On the left is the log. On the right is the expected output. Joe's first entry in 2024 is 1 Jan. I can disregard Joe thereafter. Bob and Sue are both on 2 Feb and could be parsed out. Jan has only one entry in the year. I'm looking for ideas as to how I might turn data on left into data on right. Could some combination of FIND, MID, FILTER and TRANSPOSE functions work?
I'm trying to do a count of people first using a process within a calendar year but perhaps it is best to look at the problem in smaller steps. The log will contain older data but it is only 2024 data that I am currently interested in. I see the data that I have inherited contains multiple names occasionally against a date. On the left is the log. On the right is the expected output. Joe's first entry in 2024 is 1 Jan. I can disregard Joe thereafter. Bob and Sue are both on 2 Feb and could be parsed out. Jan has only one entry in the year. I'm looking for ideas as to how I might turn data on left into data on right. Could some combination of FIND, MID, FILTER and TRANSPOSE functions work?
Date | Names | For 2024 | ||
01 February 2023 | Joe | First Occurrence Date for name in year of interest | Name | |
01 January 2024 | Joe | 01 January 2024 | Joe | |
02 February 2024 | Bob Sue | 02 February 2024 | Bob | |
03 February 2024 | Bob | 02 February 2024 | Sue | |
04 February 2024 | Jan | 04 February 2024 | Jan | |
05 February 2024 | Joe |