Frequency function in Excel

Copper Contributor

Hello all!

 

I'm trying to understand how FREQUENCY function works in Excel. I have the sample below. 

So does FREQUENCY work with ranges? Does it work with specific numbers?

Can someone explain to me why I get those numbers?

 

Chrisie_0-1671802464698.pngChrisie_1-1671802511331.png

 

Thank you all,

Chrisie

4 Replies

@Chrisie 

It's easier to understand if you sort C2:C4 in ascending order.

S2064.png

The number of EMPL IDs less than or equal to 700 is 0.

The number of EMPL IDs greater than 700 and less than or equal to 800 is 2.

The number of EMPL IDs greater than 800 and less than or equal to 900 is 1.

The number of EMPL IDs greater than 900 is 7.

 

@Hans Vogelaar 

 

Thank you so much for your reply.

 

Can I ask, what happens if the data are not sorted?

For example:

Chrisie_0-1672746058013.png

Thank you so much

@Chrisie 

The result is basically the same, except that the values in column D are now in a different order because the values in column C have been shuffled.

@Chrisie 

The numbers are the boundaries between bins and Excel sizes the bins to the boundaries irrespective of order.  If you use the original dataset the values returned are counts of each number.

image.png