In a Calc or Excel sheet I have a column with bunch of names. Each name can occur one or multiple times.
Each name has a 'first occurrence' i.e. the first row in which it appears.
I'm looking for an expression or formula to find the name with the latest first occurrence.
An example to clarify:
Name | |
---|---|
1 | Alice |
2 | Charlie |
3 | Bob |
4 | Eve |
5 | Charlie |
6 | David |
7 | Bob |
8 | Alice |
9 | David |
10 | Charlie |
11 | Eve |
David
first occurs is row 6, all other names appear earlier (and also again further down, but I'm only interested in their first occurrence). So in this case the name I want is David
.
I can probably think of a very over-engineered solution with spare columns and sorting mechanisms, but I feel there's probably an easier way to do this.