Ngoài ra. Có thể có cách tạo 1 công thức phức tạp hơn chút để quét cho tất cả các sheet để cộng thông qua việc dùng hàm offset, address, indirect. Nếu bạn biết về những hàm này rồi thì có thể ứng dụng tạo lại công thức
Em có làm lại hàm
=IF(ISNA(VLOOKUP($B4,'01'!$B:$L,6,0))=TRUE,0,VLOOKUP($B4,'01'!$B:$L,6,0)) =IF(ISNA(VLOOKUP($B4,'01'!$B:$L,7,0))=TRUE,0,VLOOKUP($B4,'01'!$B:$L,7,0)) =IF(ISNA(VLOOKUP($B4,'01'!$B:$L,8,0))=TRUE,0,VLOOKUP($B4,'01'!$B:$L,8,0)) =IF(ISNA(VLOOKUP($B4,'01'!$B:$L,9,0))=TRUE,0,VLOOKUP($B4,'01'!$B:$L,9,0)) =IF(ISNA(VLOOKUP($B4,’02’!$B:$L,6,0))=TRUE,0,VLOOKUP($B4,’02’!$B:$L,6,0)) =IF(ISNA(VLOOKUP($B4,’02’!$B:$L,7,0))=TRUE,0,VLOOKUP($B4,’02’!$B:$L,7,0)) =IF(ISNA(VLOOKUP($B4,’02’!$B:$L,8,0))=TRUE,0,VLOOKUP($B4,’02’!$B:$L,8,0)) =IF(ISNA(VLOOKUP($B4,’02’!$B:$L,9,0))=TRUE,0,VLOOKUP($B4,’02’!$B:$L,9,0)) =IF(ISNA(VLOOKUP($B4,’03’!$B:$L,6,0))=TRUE,0,VLOOKUP($B4,’03’!$B:$L,6,0)) =IF(ISNA(VLOOKUP($B4,’03’!$B:$L,7,0))=TRUE,0,VLOOKUP($B4,’03’!$B:$L,7,0)) =IF(ISNA(VLOOKUP($B4,’03’!$B:$L,8,0))=TRUE,0,VLOOKUP($B4,’03’!$B:$L,8,0)) =IF(ISNA(VLOOKUP($B4,’03’!$B:$L,9,0))=TRUE,0,VLOOKUP($B4,’03’!$B:$L,9,0)) =IF(ISNA(VLOOKUP($B4,’04’!$B:$L,6,0))=TRUE,0,VLOOKUP($B4,’04’!$B:$L,6,0)) =IF(ISNA(VLOOKUP($B4,’04’!$B:$L,7,0))=TRUE,0,VLOOKUP($B4,’04’!$B:$L,7,0)) =IF(ISNA(VLOOKUP($B4,’04’!$B:$L,8,0))=TRUE,0,VLOOKUP($B4,’04’!$B:$L,8,0)) =IF(ISNA(VLOOKUP($B4,’04’!$B:$L,9,0))=TRUE,0,VLOOKUP($B4,’04’!$B:$L,9,0)) =IF(ISNA(VLOOKUP($B4,’05’!$B:$L,6,0))=TRUE,0,VLOOKUP($B4,’05’!$B:$L,6,0)) =IF(ISNA(VLOOKUP($B4,’05’!$B:$L,7,0))=TRUE,0,VLOOKUP($B4,’05’!$B:$L,7,0)) =IF(ISNA(VLOOKUP($B4,’05’!$B:$L,8,0))=TRUE,0,VLOOKUP($B4,’05’!$B:$L,8,0)) =IF(ISNA(VLOOKUP($B4,’05’!$B:$L,9,0))=TRUE,0,VLOOKUP($B4,’05’!$B:$L,9,0)) =IF(ISNA(VLOOKUP($B4,’06’!$B:$L,6,0))=TRUE,0,VLOOKUP($B4,’06’!$B:$L,6,0)) =IF(ISNA(VLOOKUP($B4,’06’!$B:$L,7,0))=TRUE,0,VLOOKUP($B4,’06’!$B:$L,7,0)) =IF(ISNA(VLOOKUP($B4,’06’!$B:$L,8,0))=TRUE,0,VLOOKUP($B4,’06’!$B:$L,8,0)) =IF(ISNA(VLOOKUP($B4,’06’!$B:$L,9,0))=TRUE,0,VLOOKUP($B4,’06’!$B:$L,9,0)) =IF(ISNA(VLOOKUP($B4,’07’!$B:$L,6,0))=TRUE,0,VLOOKUP($B4,’07’!$B:$L,6,0)) =IF(ISNA(VLOOKUP($B4,’07’!$B:$L,7,0))=TRUE,0,VLOOKUP($B4,’07’!$B:$L,7,0)) =IF(ISNA(VLOOKUP($B4,’07’!$B:$L,8,0))=TRUE,0,VLOOKUP($B4,’07’!$B:$L,8,0)) =IF(ISNA(VLOOKUP($B4,’07’!$B:$L,9,0))=TRUE,0,VLOOKUP($B4,’07’!$B:$L,9,0)) =IF(ISNA(VLOOKUP($B4,’08’!$B:$L,6,0))=TRUE,0,VLOOKUP($B4,’08’!$B:$L,6,0)) =IF(ISNA(VLOOKUP($B4,’08’!$B:$L,7,0))=TRUE,0,VLOOKUP($B4,’08’!$B:$L,7,0)) =IF(ISNA(VLOOKUP($B4,’08’!$B:$L,8,0))=TRUE,0,VLOOKUP($B4,’08’!$B:$L,8,0)) =IF(ISNA(VLOOKUP($B4,’08’!$B:$L,9,0))=TRUE,0,VLOOKUP($B4,’08’!$B:$L,9,0)) =IF(ISNA(VLOOKUP($B4,’09’!$B:$L,6,0))=TRUE,0,VLOOKUP($B4,’09’!$B:$L,6,0)) =IF(ISNA(VLOOKUP($B4,’09’!$B:$L,7,0))=TRUE,0,VLOOKUP($B4,’09’!$B:$L,7,0)) =IF(ISNA(VLOOKUP($B4,’09’!$B:$L,8,0))=TRUE,0,VLOOKUP($B4,’09’!$B:$L,8,0)) =IF(ISNA(VLOOKUP($B4,’09’!$B:$L,9,0))=TRUE,0,VLOOKUP($B4,’09’!$B:$L,9,0)) =IF(ISNA(VLOOKUP($B4,'10'!$B:$L,6,0))=TRUE,0,VLOOKUP($B4,'10'!$B:$L,6,0)) =IF(ISNA(VLOOKUP($B4,'10'!$B:$L,7,0))=TRUE,0,VLOOKUP($B4,'10'!$B:$L,7,0)) =IF(ISNA(VLOOKUP($B4,'10'!$B:$L,8,0))=TRUE,0,VLOOKUP($B4,'10'!$B:$L,8,0)) =IF(ISNA(VLOOKUP($B4,'10'!$B:$L,9,0))=TRUE,0,VLOOKUP($B4,'10'!$B:$L,9,0)) =IF(ISNA(VLOOKUP($B4,'11'!$B:$L,6,0))=TRUE,0,VLOOKUP($B4,'11'!$B:$L,6,0)) =IF(ISNA(VLOOKUP($B4,'11'!$B:$L,7,0))=TRUE,0,VLOOKUP($B4,'11'!$B:$L,7,0)) =IF(ISNA(VLOOKUP($B4,'11'!$B:$L,8,0))=TRUE,0,VLOOKUP($B4,'11'!$B:$L,8,0)) =IF(ISNA(VLOOKUP($B4,'11'!$B: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