As I tried to explain very short in the title. I want to delete rows that has duplicates but still keep the row with higest number from a cell in the column next to the one being searched for duplicates.
So, I wanna delete duplicates in column B but keep the row with the highest value in column A
Is it possible to make a cute little macro that solves this for me?
Code:
Looks like this, but I have thousands of rows.
Where I have about 500 to 1000 uniqe numbers.
| A | B |
1 | 680 | 832122 <--- Delete
2 | 682 | 832441 <--- Delete
3 | 703 | 832122 <--- Delete
4 | 703 | 832442 <--- Delete
5 | 713 | 832443 <--- Delete
6 | 800 | 832122 <--- Keep
7 | 855 | 832441 <--- Delete
8 | 890 | 832441 <--- Keep
9 | 999 | 832442 <--- Keep
Is it possible to make a cute little macro that solves this for me?