添付図参照
1.範囲 I2:L7 を選択して、[挿入]→[名前]→[作成]を実行
2.“左端列”のみにチェックを入れて[OK]をクリック
3.下に示すセルにそれぞれの右側の式を入力
4.範囲 D2:G2 を下方にズズーッとドラッグ&ペースト
D2: =IF(AND(INDEX(INDIRECT("_"&D$1),3)>=VALUE(RIGHT($B2,6)),INDEX(INDIRECT("_"&D$1),3)<=(RIGHT($B2,6)+$C2)),"○","")
E2: =IF(MID(B2,2,1)=MID(INDEX(INDIRECT("_"&E$1),2),6,1),IF(AND(INDEX(INDIRECT("_"&E$1),3)>=VALUE(RIGHT($B2,6)),INDEX(INDIRECT("_"&E$1),3)<=(RIGHT($B2,6)+$C2)),"○",""),"")
F2: =IF(LEFT($B2,2)=LEFT(INDEX(INDIRECT("_"&F$1),2),2),IF(AND(INDEX(INDIRECT("_"&F$1),3)>=VALUE(RIGHT($B2,6)),INDEX(INDIRECT("_"&F$1),3)<=(RIGHT($B2,6)+$C2)),"○",""),"")
G2: =IF(LEFT($B2,2)=LEFT(INDEX(INDIRECT("_"&G$1),2),2),IF(AND(INDEX(INDIRECT("_"&G$1),3)>=VALUE(RIGHT($B2,6)),INDEX(INDIRECT("_"&G$1),3)<=(RIGHT($B2,6)+$C2)),"○",""),"")