The information in this article applies to:
SYMPTOMSThe Histogram tool in the Analysis ToolPak add-in macro and the FREQUENCY() function in Microsoft Excel 4.0 return different values for the same data set. STATUSThis is a known problem in Microsoft Excel 4.0. The problem was corrected in Microsoft Excel 5.0 for Windows and Microsoft Excel 5.0 for the Macintosh. MORE INFORMATION
The FREQUENCY() function returns one element more than the number of
intervals listed in the bins_array argument while the Histogram tool
returns the same number of elements as the number of intervals in the
bins_array argument.
ExampleGiven the following data in Input Range (A1:A11)
and the following Bin Values (B1:B4)
the result of the FREQUENCY() formula, =FREQUENCY(A1:A10,B1:B4), is 4,3,1,1,2. The result of the Histogram tool is 3,1,1,2. Note that the FREQUENCY() function returns five values while the Histogram tool returns four values. The difference in results occurs because the FREQUENCY() function counts the values 1, 2, 5, and 8 for the first value that is returned, while the Histogram tool does not count the numbers BELOW the first bin value, but does count the numbers ABOVE the largest bin value. Additional query words: 4.00a XL4 cumulative distribution
Keywords : |
Last Reviewed: April 7, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |