Greater than Less than formula

G

Guest

I have data in cells B6 through B31. In B32 I need to know the count of
B6:B31 that are greater than 50 but less than 100. In B33 I need to know the
count of B6:B31 that are greater than 40 but less than 49. In B34 I need to
know the count of B6:B31 that are greater than 30 but less than 39. etc. How?
 
G

Guest

In B32 put =COUNTIF(B6:B31,"<100")-COUNTIF(B6:B31,"<=50")

In B33 put =COUNTIF(B6:B31,"<49")-COUNTIF(B6:B31,"<=40")

In B34 put =COUNTIF(B6:B31,"<39")-COUNTIF(B6:B31,"<=30")

Vaya con Dios,
Chuck, CABGx3
 
G

Guest

Try these:

=SUMPRODUCT(--($B$6:$B$31<100),--($B$6:$B$31>50))
=SUMPRODUCT(--($B$6:$B$31<49),--($B$6:$B$31>40))
=SUMPRODUCT(--($B$6:$B$31<39),--($B$6:$B$31>30))
 
B

Bob Umlas

enter
10
20
30
40
50
100
in C6:C11
Select D6:D11, and ctrl/shift/enter:
=FREQUENCY(B6:B31,C6:C11)

Help with Check Mark!! said:
I have data in cells B6 through B31. In B32 I need to know the count of
B6:B31 that are greater than 50 but less than 100. In B33 I need to know the
count of B6:B31 that are greater than 40 but less than 49. In B34 I need to
know the count of B6:B31 that are greater than 30 but less than 39. etc.
How?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top