Hi

Please, try this in D5:G11
Formula: copy to clipboard
=IFERROR(IF(MATCH($C5-$B5,'Time Frame'!$B$2:$B$5,1)=COLUMN(A$1),"x",""),"")