I require a formula that looks at the code in column A, and then returns the next value that is not already in the list. The values may or may not be unique.
Raw Data
Required output
Raw Data
Column A | Column B | |
Row 1 | ID | Code |
Row 2 | 2101773 | aaaaa |
Row 3 | 2169394 | sdjkih |
Row 4 | 2158156 | dsadd |
Row 5 | 2101773 | nuihiu |
Row 6 | 2101773 | fsdfsf |
Row 7 | 2101773 | aaaaa |
Required output
Column A | Column B | |
ID | Code | |
Row 1 | 2101773 | aaaaa |
Row 2 | 2101773 | nuihiu |
Row 3 | 2101773 | fsdfsf |
Row 4 | 2101773 | aaaaa |