简体   繁体   中英

Excel count number of times a column cell value equals

Hi I have the following spread sheet:

在此处输入图片说明

I want to count the number of times the cells in column C have a value below .8 and where the corresponding cell in column A equals 1. I also want to count the number of times that the cells in column D have a value below .8 and where the corresponding cell in column B is 1?

At the moment I have managed to colour the cells in red when these are true using conditional formatting. But unable to workout how to count these also?

Many thank for any help

Use COUNTIFS() :

For Column C:

=COUNTIFS(A1:A10,1,C1:C10,"<" & .8)

For Column D:

=COUNTIFS(B1:B10,1,D1:D10,"<" & .8)

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