If the sheet name is contained in cell A3 then something like

=SUM(INDIRECT(A3&"!"&"B:B"))

should suffice

Regards

Dav