= LET(
filledDate, FillDownλ(date),
MAP(distinctDate#,
LAMBDA(distinct,
TEXTJOIN(",",,FILTER(text, filledDate=distinct))
) ) )
where FillDownλ is given by
= LAMBDA(x,SCAN("",x,LAMBDA(y,z,IF(ISNUMBER(z),z,y))))
and the distinct dates are
= FILTER(date,date)