It works for me
Excel 2013/2016
<colgroup><col style="width: 25pxpx"><col><col><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]3[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]4[/TD]
[TD="align: right"]01/01/2019[/TD]
[TD="align: right"][/TD]
[TD="align: right"]02/01/2019[/TD]
[TD="align: center"]5[/TD]
[TD="align: right"]02/01/2019[/TD]
[TD="align: right"][/TD]
[TD="align: right"]04/01/2019[/TD]
[TD="align: center"]6[/TD]
[TD="align: right"]03/01/2019[/TD]
[TD="align: right"][/TD]
[TD="align: right"]07/01/2019[/TD]
[TD="align: center"]7[/TD]
[TD="align: right"]04/01/2019[/TD]
[TD="align: right"][/TD]
[TD="align: right"]08/01/2019[/TD]
[TD="align: center"]8[/TD]
[TD="align: right"]05/01/2019[/TD]
[TD="align: right"][/TD]
[TD="align: right"]09/01/2019[/TD]
[TD="align: center"]9[/TD]
[TD="align: right"]06/01/2019[/TD]
[TD="align: right"][/TD]
[TD="align: right"]11/01/2019[/TD]
[TD="align: center"]10[/TD]
[TD="align: right"]07/01/2019[/TD]
[TD="align: right"][/TD]
[TD="align: right"]12/01/2019[/TD]
[TD="align: center"]11[/TD]
[TD="align: right"]08/01/2019[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]12[/TD]
[TD="align: right"]09/01/2019[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]13[/TD]
[TD="align: right"]10/01/2019[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]14[/TD]
[TD="align: right"]11/01/2019[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]15[/TD]
[TD="align: right"]12/01/2019[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]16[/TD]
[TD="align: right"]13/01/2019[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
</tbody>
Sheet1
[TABLE="width: 85%"]
<tbody>[TR]
[TD]
Worksheet Formulas[TABLE="width: 100%"]
<thead>[TR="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]
[TH="width: 10px"]Cell[/TH]
[TH="align: left"]Formula[/TH]
[/TR]
</thead><tbody>[TR]
[TH="width: 10px, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]J4[/TH]
[TD="align: left"]=INDEX(
$G$4:$G$34,AGGREGATE(15,6,(ROW($G$4:$G$34)-ROW($G$4)+1)/($H$4:$H$34=$H$3),ROWS($A$1:$A1)))[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
Is this how your data looks?