ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Countif Function (https://www.excelbanter.com/excel-programming/271909-re-countif-function.html)

Dan E[_2_]

Countif Function
 
=COUNTIF(H3:H26,""&B3)-COUNTIF(H3:H26,"="& B4)

Finds all the entries B3 and <B4 by
count the number B3
count the number = B4

Subtract the # =B4 from the # B3

Note: if you wanted the # =B3 and <=B4

=COUNTIF(H3:H26,"="&B3)-COUNTIF(H3:H26,""& B4)

Dan E

"ChrisG" wrote in message
...
I am attempting to use Countif function, e.g.

=COUNTIF(H3:H26,B3)

however I wish to construct a conditional argument
something like this:

=COUNTIF(H3:H26,"B3 AND <B4")

Having terribel time with syntax or just not doable.
Please help.

Thanks Chris





All times are GMT +1. The time now is 04:51 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com