-1
創建由集團在Excel鮮明的ID我有一個不能被排序的Excel列,爲此我需要建立由組唯一的ID,類似於下面的是:不排序
+--------+------+
| Name | ID |
+--------+------+
| Jim | 1 |
| Sarah | 1 |
| Tim | 1 |
| Jim | 2 |
| Rachel | 1 |
| Sarah | 2 |
| Jim | 3 |
| Sarah | 3 |
| Rachel | 2 |
| Tim | 2 |
+--------+------+
[好](http://stackoverflow.com/help/how-to-ask)。 – BruceWayne