=SUMIF('[201208入仓表.xlsx]AB(专用设备类)'!$C$4:$C$1000,"AB0200",'[201208入仓表.xlsx]AB(专用设备类)'!$D$4:$D$1000)
改成:
=SUMIF('[201208入仓表.xlsx]AB(专用设备类)'!$C$4:$C$1000,"AB02"&text(row(A1)-1,"00"),'[201208入仓表.xlsx]AB(专用设备类)'!$D$4:$D$1000)
下拉试试
=SUMIF('[201208入仓表.xlsx]AB(专用设备类)'!$C$4:$C$1000,"AB"&TEXT(200+ROW(A1)-1,"0000"),'[201208入仓表.xlsx]AB(专用设备类)'!$D$4:$D$1000)
"AB0200"替换为 "AB“&text(row()+调整数,"0000")