excel中如果用sumif和sumproduct函数
发布网友
发布时间:2022-05-01 14:19
我来回答
共1个回答
热心网友
时间:2023-10-17 23:30
SUMIF是单条件的函数,只能用两个函数组合:
=SUMIF(A1:A10,"<5")-SUMIF(A1:A10,"<=2")
用sumproct函数:
=sumproct((A1:A10<5)*(A1:A10>2))
如果是WPS表格或EXCEL2007,可用函数SUMIFS:
=SUMIFS(A1:A10,A1:A10,"<5",A1:A10,">2")
热心网友
时间:2023-10-17 23:30
SUMIF是单条件的函数,只能用两个函数组合:
=SUMIF(A1:A10,"<5")-SUMIF(A1:A10,"<=2")
用sumproct函数:
=sumproct((A1:A10<5)*(A1:A10>2))
如果是WPS表格或EXCEL2007,可用函数SUMIFS:
=SUMIFS(A1:A10,A1:A10,"<5",A1:A10,">2")
热心网友
时间:2023-10-17 23:30
SUMIF是单条件的函数,只能用两个函数组合:
=SUMIF(A1:A10,"<5")-SUMIF(A1:A10,"<=2")
用sumproct函数:
=sumproct((A1:A10<5)*(A1:A10>2))
如果是WPS表格或EXCEL2007,可用函数SUMIFS:
=SUMIFS(A1:A10,A1:A10,"<5",A1:A10,">2")