Forum Discussion
Frequency function in Excel
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?
Thank you all,
Chrisie
4 Replies
It's easier to understand if you sort C2:C4 in ascending order.
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.
- ChrisieCopper Contributor
Thank you so much for your reply.
Can I ask, what happens if the data are not sorted?
For example:
Thank you so much
- PeterBartholomew1Silver Contributor
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.