回覆列表
-
1 # 使用者1575574341738
-
2 # Maker9264
統計A列中P001,B列小於10的資料有幾個,10-20之前的有幾個,大於20的有幾個,公式如下:
=SUMPRODUCT((A$2:A$999="P001")*(B$2:B$999<10))
=SUMPRODUCT((A$2:A$999="P001")*(B$2:B$999>=10)*(B$2:B$999<=20))
=SUMPRODUCT((A$2:A$999="P001")*(B$2:B$999>20))
其他公式,可類推
統計A列中P001,B列小於10的資料有幾個,10-20之前的有幾個,大於20的有幾個,公式如下:=SUMPRODUCT((A$2:A$999="P001")*(B$2:B$999<10))=SUMPRODUCT((A$2:A$999="P001")*(B$2:B$999>=10)*(B$2:B$999<=20))=SUMPRODUCT((A$2:A$999="P001")*(B$2:B$999>20))其他公式,可類推