删除重复的行

Excel的有7列数字,有些数字整行重复。


A

B

C

D

E

F

G

1

1

2

3

4

5

6

7

2

7

6

5

4

3

2

1

3

1

2

3

4

5

6

7

4

1

2

3

4

5

6

7

5

1

1

1

1

1

1

1

6

1

1

1

1

1

1

1

7

7

7

7

7

7

7

7

要求删掉重复的行。


I

J

K

L

M

N

O

1

7

6

5

4

3

2

1

2

7

7

7

7

7

7

7

使用 SPL XLL,输入公式:

=spl("=?.group(~).select(~.len()==1).conj()",A1:G7)

Picture1png

函数 group 对行分组,select 筛选符合条件的组,conj 合并各组。

来源:https://www.reddit.com/r/excel/comments/1cemf95/comment/l30zoco/