简体   繁体   中英

Excel Count number of times in range that cells in column A are less than corresponding cell in column B

I have a range A2:B28. In column A, I have a bunch of numbers. In column B, I have a bunch of other numbers. I want to know how many times it occurs that a cell in column A is less than the cell on the same row but in column B (ie A2

使用SUMPRODUCT():

=SUMPRODUCT(--(A2:A28<B2:B28))

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