@ETAF it worked...how about
=INDEX($B$3:$B$14,MATCH(F3,IF($A$3:$A$14=G3,$C$3:$C$14),1))
BTA newer functions will help without specific orderbe aware that the dates in column C must be in ascending order.
=XLOOKUP($F3,(($A$3:$A$14=$G3)*($C$3:$C$14)),$B$3:$B$14,,-1)