|
本帖最后由 631262338 于 2015-3-24 15:23 编辑
需求1、C列中不同内容间插入一空行,相同内容间不需要插入空行,形成一个组别 | 需求2.分完列后每个组别需要排序,排序规则为3列相同的放在该组的最后,然后在该组别中找第二列和它(3列相同)第一列相同的放在其上面,如此类推 |
原数据:
Prime part | Replacement Prime | Top successor | 41515 | 41517 | 41517 | 922211142 | 922211142 | 922211142 | 00908-01 B0 | 00908-01 B0 | 00908-01 B0 | 01/KRC118114/4718 | 01/KRC118114/4718 R1A | 01/KRC118114/4718 R1A | 01/KRC118114/4718 R1A | 01/KRC118114/4718 R1A | 01/KRC118114/4718 R1A | 01/KRC118114/4719 | 01/KRC118114/4719 R1A | 01/KRC118114/4719 R1A | 01/KRC118114/4719 R1A | 01/KRC118114/4719 R1A | 01/KRC118114/4719 R1A | 1/BFL901009/1 | 1/BFL901009/1 R1B | NTK102243/1 R1C | 1/BFL901009/1 R1B | 1/BFL901009/1 R2D | NTK102243/1 R1C | 1/BFL901009/1 R2D | 1/BFL901009/1 R3C | NTK102243/1 R1C | 1/BFL901009/1 R3C | NTM1011906/1 | NTK102243/1 R1C | NTK102243/1 | NTK102243/1 R1C | NTK102243/1 R1C | NTK102243/1 R1C | NTK102243/1 R1C | NTK102243/1 R1C | NTM1011906/1 | NTM1011906/1 R1A | NTK102243/1 R1C | NTM1011906/1 R1A | NTM1011906/1 R2B | NTK102243/1 R1C | NTM1011906/1 R2B | NTM1011906/1 R3B | NTK102243/1 R1C | NTM1011906/1 R3B | NTK102243/1 | NTK102243/1 R1C |
需要得出的结果
Prime part | Replacement Prime | Top successor | 41515 | 41517 | 41517 | | | | 922211142 | 922211142 | 922211142 | | | | 00908-01 B0 | 00908-01 B0 | 00908-01 B0 | | | | 01/KRC118114/4718 | 01/KRC118114/4718 R1A | 01/KRC118114/4718 R1A | 01/KRC118114/4718 R1A | 01/KRC118114/4718 R1A | 01/KRC118114/4718 R1A | | | | 01/KRC118114/4719 | 01/KRC118114/4719 R1A | 01/KRC118114/4719 R1A | 01/KRC118114/4719 R1A | 01/KRC118114/4719 R1A | 01/KRC118114/4719 R1A | | | | 1/BFL901009/1 | 1/BFL901009/1 R1B | NTK102243/1 R1C | 1/BFL901009/1 R1B | 1/BFL901009/1 R2D | NTK102243/1 R1C | 1/BFL901009/1 R2D | 1/BFL901009/1 R3C | NTK102243/1 R1C | 1/BFL901009/1 R3C | NTM1011906/1 | NTK102243/1 R1C | NTM1011906/1 | NTM1011906/1 R1A | NTK102243/1 R1C | NTM1011906/1 R1A | NTM1011906/1 R2B | NTK102243/1 R1C | NTM1011906/1 R2B | NTM1011906/1 R3B | NTK102243/1 R1C | NTM1011906/1 R3B | NTK102243/1 | NTK102243/1 R1C | NTK102243/1 | NTK102243/1 R1C | NTK102243/1 R1C | NTK102243/1 R1C | NTK102243/1 R1C | NTK102243/1 R1C | 可以查看附件。
|
|