Hi
I'm trying to count how many people that have salaries that are within a certain range. I would like to use the frequency function but I can't figure out how to use open intervals. For instance I have an interval of [400.000 ; 425.000[ (meaning 400.000 is within the interval but 425.000 is not). How do I use the frequency function so that it counts all salaries equal to 400.000 and above 400.000 but below 425.000?
Right now I'm using the countif function as follows
[vba]COUNTIF(Sheet1!J$2:J$33;"<425000")-B30[/vba] [vba]B30 = COUNTIF(Sheet1!J$2:J$33;"<400000")-B29 [/vba] and so forth so that I extract all numbers below 400.000.
Although the countif function seems as a suitable replacement for the frequency function it appears that it produces wrong results.