because there were a lot of lines (10000). So I did it differently, as shown below.
I copied my original list to the second column, and then using the "delete duplicates" function in Excel, I was able to find a list of unique values.
Select all the rows, including the column headers, in the list
which you want to filter.
Click the top left cell of the range, and then drag it to the bottom right cell.
On the Data menu, point to Filter, and then click Advanced Filter. In the Advanced Filter dialog box, click Filter the list, in place. Select the Unique records only check box, and then click OK.
The filtered list is displayed and duplicate rows are hidden.
On the Edit menu, click Office Clipboard.
The Clipboard taskbar is displayed.
Make sure the filtered list is still selected, and then click Copy Copy button.
The filtered list is highlighted with bounding contours, and the selection is displayed as an element → at the top of the clipboard.
On the Data menu, point to Filter, and then click Show All.
The original list is re-displayed.
Press the DELETE key.
The original list has been deleted.
In the Clipboard, click on the filtered list item.
The filtered list is displayed in the same place as the original list.