>>54
=SUM( OFFSET(Sheet1!B1:C1, MATCH(A1,Sheet1!A1:A10,0)-1 ,0) )
とか