The information in this article applies to:
SUMMARY
In Microsoft Excel, you can use the FREQUENCY() function in a SUM(IF())
array formula to count the number of rows in which an item appears within
a specified range.
where "range" is the range you want to search and "item" is the number or text string you want to find within each row. If you are searching for a text string, include quotation marks around both instances of "item." NOTE: The formulas discussed in this article must be entered as array formulas by pressing CTRL+SHIFT+ENTER in Microsoft Excel for Windows or by pressing COMMAND+ENTER in Microsoft Excel for the Macintosh. MORE INFORMATION
For example, to find out how many rows "XXX" appears in within the
following range
use the following array formula:
This formula returns the value 3, indicating that "XXX" is contained in three rows of the range. REFERENCES"Function Reference," version 4.0, pages 178-179, 364 Additional query words: 4.00a 5.00a 5.00c 7.00a 97 98 XL98 XL97 XL7 XL5 XL4 count
Keywords : xlformula |
Last Reviewed: August 10, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |