=SUMIF(OFFSET(DL!$C$5,,,,MATCH($E$1,DL!$C$4:$K$4,)+2),$E$3,OFFSET(DL!$C$5,MATCH(B4,DL!$B$6:$B$11,),,,MATCH($E$1,DL!$C$4:$K$4,)+2))
=SUM(OFFSET(DL!$C6,,,,MATCH($E$1,DL!$C$4:$K$4,)+2))
Dạ. Xin cảm ơn bác a.Công thức tổng quát
Công thức "ăn gian"Mã:=SUMIF(OFFSET(DL!$C$5,,,,MATCH($E$1,DL!$C$4:$K$4,)+2),$E$3,OFFSET(DL!$C$5,MATCH(B4,DL!$B$6:$B$11,),,,MATCH($E$1,DL!$C$4:$K$4,)+2))
Mã:=SUM(OFFSET(DL!$C6,,,,MATCH($E$1,DL!$C$4:$K$4,)+2))