Determining Frequency Distribution in a Range of CellsLast reviewed: November 4, 1994 |
2.x 3.00 4.00 4.00a 5.00 | 2.20 2.21 3.00 WINDOWS | OS/2 kbusage The information in this article applies to:
The easiest way to determine the frequency of distribution in a range is to use the SUM and IF functions in an array. For example, to determine the number of 3's in the range B2:E10, use the following formula: =SUM(IF(B2:E10=3,1,0)) To enter this function as an array formula, press CTRL+SHIFT+ENTER. This will give you the desired result. The IF function, when entered as an array, checks each array element separately and returns either a 1 or a 0 (zero) depending on whether it compares true or false. For each 1 or 0, the SUM function keeps a total. After it goes through the entire selection, you will have the total number of 3's in the range. |
KBCategory: kbusage |
Last reviewed: November 4, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.