to remove zeros you can use:
=INDEX(IFERROR(1/(1/VLOOKUP(A2:A; QUERY({'1'!A:H; '2'!A:B\ '2'!C:H*-1};
"select Col1,sum(Col3),sum(Col4),sum(Col5),sum(Col6),sum(Col7),sum(Col8)
where Col1 is not null
group by Col1"); {2\3\4\5\6\7}; ))))
to remove zeros you can use:
=INDEX(IFERROR(1/(1/VLOOKUP(A2:A; QUERY({'1'!A:H; '2'!A:B\ '2'!C:H*-1};
"select Col1,sum(Col3),sum(Col4),sum(Col5),sum(Col6),sum(Col7),sum(Col8)
where Col1 is not null
group by Col1"); {2\3\4\5\6\7}; ))))