I apologise if this question appears simple, but I'm having trouble making it work.

I just want to know what days were each employee absent in the column G (the last column), for example I want it like:

I tried to apply some MATCH/FILTER and ARRAYFORMULA formulas, but did not crack the puzzle. Please, help.
Try
TEXTJOIN()andFILTER().For dynamic spill array, use-
Divide the results into cells.
Used formulas help
ARRAYFORMULA-IFERROR-SPLIT-BYROW-COUNTA-LAMBDA-TEXTJOIN-FILTER