Frequency of a range

Z

zipzip

Please, I have a list of numbers, eg. : ( I8:I507 )
I need to know the frequency of a range at this list of numbers.
That range is at C1 and C2 Cells, eg.: ( C1 = 1 and C2 = 13 ), so (
1,2,3,.....,13).

I used =COUNTIF(I8:I507;C1) , but I need to reach the range, not only one
value.
Is there a way to to this ?
Using >C1 and <C2 ?

Thanks
Renê
 
B

Bob Phillips

=SUMPRODUCT(--(I8:I507>C1),--(I8:I507<C2))

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
C

CLR

You might want to check out Tools > data Analysis >
Histogram...............you can build a BIN (list) of your 1 to 13 numbers
and get a distribution........how many hits on each number............

Vaya con Dios,
Chuck, CABGx3
 
E

et

Hi Bob,

Could you teach me what is the difference between

=SUMPRODUCT(--(I8:I507>C1),--(I8:I507<C2))
and
=SUMPRODUCT((I8:I507>C1)*(I8:I507<C2))

Thanks
Eling
 
C

CLR

You may have to do Tools > Add-ins > Analysis ToolPak first.............

Vaya con Dios,
Chuck, CABGx3
 

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