manoj18071965
Board Regular
- Joined
- Sep 16, 2011
- Messages
- 65
I have an excel where in D column Same name are appearing multiple times. They are already grouped I just need to provide unique_id code (1, 2, 3...) for each group as shown in below example in column E:
Col A Col B Col C Col D Col E
<colgroup><col span="2"><col span="2"><col></colgroup><tbody>
</tbody>
Col A Col B Col C Col D Col E
Sr no | year | name | clean_name | unique_id |
1 | 2002 | YOON, ALBERT, | YOON, ALBERT | 1 |
2 | 2003 | YOON, ALBERT, | YOON, ALBERT | 1 |
3 | 2004 | YOON, ALBERT, | YOON, ALBERT | 1 |
4 | 2005 | YOON, ALBERT,* | YOON, ALBERT | 1 |
5 | 2006 | YOON, ALBERT H., | YOON, ALBERT | 1 |
6 | 2007 | YOON, ALBERT H., | YOON, ALBERT | 1 |
7 | 2008 | YOON, ALBERT H., | YOON, ALBERT | 1 |
8 | 1980 | WARREN, ELIZABETH, | WARREN, ELIZABETH | 2 |
9 | 1981 | WARREN, ELIZABETH, | WARREN, ELIZABETH | 2 |
10 | 1983 | WARREN, ELIZABETH, | WARREN, ELIZABETH | 2 |
11 | 1984 | WARREN, ELIZABETH, | WARREN, ELIZABETH | 2 |
12 | 1985 | WARREN, ELIZABETH, | WARREN, ELIZABETH | 2 |
13 | 1987 | WARREN, ELIZABETH, F | WARREN, ELIZABETH | 2 |
<colgroup><col span="2"><col span="2"><col></colgroup><tbody>
</tbody>