=SUMIF(Sheet1!B:B,Sheet2!B1,Sheet1!C:C)
用=SUM(sheet1!C1:C3)如果要判断条件,可用SUMIF()
求和=sum(sheet1!C1:C3)
=sum(sheet1!C1:C3)