A & B are source columns, C is desired result.
A | B | C |
---|---|---|
1 | 1 | 1 |
2 | 2 | 2 |
3 | 3 | 3 |
4 | 4 | 4 |
5 | 5 | 5 |
6 | 6 | 6 |
7 | 7 | 7 |
8 | 7 | 9 |
9 | 8 | 10 |
10 | 9 | 11 |
11 | 10 | 12 |
12 | 11 | 13 |
13 | 12 | 14 |
14 | 13 | 15 |
15 | 14 | 16 |
16 | 15 | 17 |
17 | 16 | 18 |
18 | 17 | 19 |
19 | 18 | 20 |
20 | 19 | 21 |
21 | 20 | 22 |
22 | 21 | 23 |
23 | 22 | 24 |
24 | 23 | 26 |
25 | 23 | |
26 | 24 |
I'm using =FILTER($A1:$A27,$B2:$B28<>$B1:$B27) - which does remove the duplicates, but keeps the second instance. (Also copies the header row, which is useful.)
I suspect there's going to be a better way of doing this altogether though. Thanks for any help.