Entering edit mode
7.8 years ago
zqwu
•
0
Dear all ,
I have a file over 30000 rows (\t as the space), I want to remove some based on certain characters:
for example:
Name Len Name2 Order
KCNQ2_32937 2535 KCNQ2 32937
KCNQ2_32938 2733 KCNQ2 32938
KCNQ2_32939 2616 KCNQ2 32939
KCNQ2_32940 2544 KCNQ2 32940
KCNQ2_32941 1809 KCNQ2 32941
.
.
.
the filter is like this:
In Name2 column, if the name of each cell is the same, I want keep the largest one in Len column:
Name Len Name2 Order
KCNQ2_32938 2733 KCNQ2 32938
...
How can I do it like this?
TJ
thanks. It is fast and exactly what I need.
If this answer solved your problem then go ahead and "accept" (green check mark). @5heikki's answer which appears to have been written almost at the same time may also be fine and can be accepted in addition to @Pierre's.