简体   繁体   中英

Excel count in array with multiple criteria

I believe that I need an array formula in order to accomplish this task, but I'm not entirely sure.

I need to count the number of records which match 'Cadmium' and are greater than a particular value (0.0005).

Here's an example of how my data is arranged. The real dataset contains thousands more species and rows.

Start cell A1:

Cadmium      0.0005
Chromium     0.0100
Copper       0.0010
Cadmium      0.0010
Nickel       0.3
Cadmium      0.0010

Thus the formula would be able to filter out cadmium, and those results greater than 0.0005 (ie two).

使用COUNTIFS()函数

=COUNTIFS(A:A,"Cadmium",B:B,">.0005")

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM