ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Counting Numbers in an Interval (https://www.excelbanter.com/excel-worksheet-functions/38645-counting-numbers-interval.html)

Leslie Coover

Counting Numbers in an Interval
 
MS Excel 2000

For 25 numbers in the range A1:A25 how can I count
the ones that are = 6.41 and < 10.07?

Thanks!

Les



R.VENKATARAMAN

try something like this

=countif(datarange,"6.41")-countif(datarange,"10.07")


Leslie Coover wrote in message
news:c3hIe.30$U92.23@okepread06...
MS Excel 2000

For 25 numbers in the range A1:A25 how can I count
the ones that are = 6.41 and < 10.07?

Thanks!

Les





Leslie Coover

The answer to this question was previously posted (excuse my post) see
Trevor Shuttleworth

=SUMPRODUCT(--($A$1:$A$25=$D$6),--($A$1:$A$25<$E$6))

where $D$6 = 6.1 and $E$6 = 10.7 etc.

Thanks, sorry for the needless post.

Les

"Leslie Coover" wrote in message
news:c3hIe.30$U92.23@okepread06...
MS Excel 2000

For 25 numbers in the range A1:A25 how can I count
the ones that are = 6.41 and < 10.07?

Thanks!

Les




JE McGimpsey

One way:

=SUMPRODUCT(--(A1:A25=6.41),--(A1:A25<10.07))

another:

=COUNTIF(A1:A25,"=6.41") - COUNTIF(A1:A25,"=10.07")

another:

=COUNTIF(A1:A25,"<10.07") - COUNTIF(A1:A25,"<6.41")

In article <c3hIe.30$U92.23@okepread06,
"Leslie Coover" wrote:

MS Excel 2000

For 25 numbers in the range A1:A25 how can I count
the ones that are = 6.41 and < 10.07?

Thanks!

Les



All times are GMT +1. The time now is 05:16 PM.

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