简体   繁体   中英

How do you extract excel data using criteria from 2 columns?

I have two columns of raw data, one with 3,000 instances of numbers 0-100 the second with 3,000 instances of numbers 0-4.

I want to be able to extract the number of instances a range in column 1 has a 0 next to it. Then a 1, a 2, a 3, and a 4.

For example, how many times 0-29 in column 1 has a 2 next to it.

This is what COUNTIFS is for

=COUNTIFS(A:A,"<"&30,B:B,2)

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