=vlookup(要查找的单元格,查找范围,查找的第几列数值,匹配参数(0 精确匹配 ,1模糊匹配)) //vlooup例子:查找下图中,姓名为张三的id =VLOOKUP(A2,$A$2:$C$3,2,0)
//sumifs函数, 按条件查找B2-B3中id为2,并且姓名为李四的成绩之和
=SUMIFS(C2:C3,B2:B3,"2",A2:A3,"李四")