Create sequence numbers based off of dates and IDs

Copper Contributor

Hi, I am looking for some help.

I am looking to insert a column with a formula in my sheet of employees to provide the sequence number of dates for employee records from most current to oldest. 

The formula needs to match the same employee numbers, look at all the record dates for that specific employee and provide a sequence number for the date of the record.

 

Info I have:

 ABCD
1EmplidNameRecord DateSeq Num
2300000296  CA2021/12/04 
3300000296  CA2021/12/26 
4300000296  CA2022/01/23 
5300000296  CA2022/12/25 
6300000296  CA2023/10/08 
7300000296  CA2023/11/26 
8300000509  MC2013/09/08 
9300000509  MC2014/06/15 
10300000509  MC2014/08/17 
11300000509  MC2014/12/07 
12300000509  MC2015/02/01 
13300000509  MC2015/03/15 
14300000509  MC2015/06/14 
15300000509  MC2015/08/02 
16300000509  MC2016/01/03 
17300000509  MC2017/01/01 
18300000509  MC2017/06/11 
19300000509  MC2018/06/10 
20300000509  MC2019/06/09 

 

Want:

 ABCD
1EmplidNameRecord DateSeq Num
2300000296  CA2021/12/046
3300000296  CA2021/12/265
4300000296  CA2022/01/234
5300000296  CA2022/12/253
6300000296  CA2023/10/082
7300000296  CA2023/11/261
8300000509  MC2013/09/0813
9300000509  MC2014/06/1512
10300000509  MC2014/08/1711
11300000509  MC2014/12/0710
12300000509  MC2015/02/019
13300000509  MC2015/03/158
14300000509  MC2015/06/147
15300000509  MC2015/08/026
16300000509  MC2016/01/035
17300000509  MC2017/01/014
18300000509  MC2017/06/113
19300000509  MC2018/06/102
20300000509  MC2019/06/091

 

Thank you

2 Replies

@BrianJm86 

In D2:

=COUNTIFS($A$2:$A$1000,$A2,$C$2:$C$1000,">="&$C2)

Adjust the ranges if you have more than 1000 rows of data

Fill down.

Hi @BrianJm86 

 

If it was me I would to do it with a PivotTable (attached)