I have a list of deals (usually unsorted) and I'm trying to find out if a company is a new client or a repeat client for each year (2019, 2020, & 2021).
The data is present as follows:
| Company | Year |
|---|---|
| Company 1 | 2019 |
| Company 2 | 2019 |
| Company 2 | 2020 |
| Company 2 | 2020 |
| Company 3 | 2020 |
| Company 3 | 2020 |
| Company 2 | 2021 |
| Company 4 | 2021 |
I need it to be calculated as:
| Company | 2019 | 2020 | 2021 |
|---|---|---|---|
| Company 1 | New | Lost | Lost |
| Company 2 | New | Repeat | Repeat |
| Company 3 | - | New | Lost |
| Company 4 | - | - | New |
I've created the desired outcome by creating a couple of helper columns, but how do I get the outcome without those? You can view the current work here: https://docs.google.com/spreadsheets/d/1jRTb1X4mFpLqyqADayqame-jWe2LoFizmARc7OCF424/edit#gid=1425919264
Struggling with using INDEX MATCH or VLOOKUP, specifically -> If [Company Name] is first signed in 2019, and any row in Column A containing [Company Name] corresponds to 2020, then [Company Name] is "Repeat" else....
Any help is appreciated.






