简体   繁体   中英

Count of number of cases within a range in Google Sheets

I am trying to count the number of employee work days within the following ranges:

`< 30

= 30 and < 90 = 90 and <180`.

For the number of employees that worked for more than 30 days and less than 90 days, I tried the following formula:

=COUNTIFS(P10:P21,">=90" AND P10:P21,">=180")

Should I use an IF AND formula instead?

All help is welcome.

Thank you!

try just:

=COUNTIFS(P10:P21,">=90", P10:P21, "<=180")

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