Using SUM(IF()) as an array function instead of COUNTIF() with AND or OR criteria (275166)
The information in this article applies to:
- Microsoft Office Excel 2003
- Microsoft Excel 2002
- Microsoft Excel 2000
- Microsoft Excel 97 for Windows
This article was previously published under Q275166 SUMMARY In Microsoft Excel, the COUNTIF() function allows you to
determine the number of cells in a range whose values match a certain
criterion, but it does not allow you to use criteria involving the logical
operators OR or AND. This article shows you how to use SUM(IF()) as an array
function to accomplish that task. REFERENCESFor
additional information about using SUM(IF()) as an array function, click the
article number below to view the article in the Microsoft Knowledge Base: 267982 How to Use a Logical AND or OR in a SUM+IF Statement in Excel
For more
information about array formulas, click Microsoft Excel Help on the Help menu, type array formulas in the Office
Assistant or the Answer Wizard, and then click Search to view the topics returned.
Modification Type: | Major | Last Reviewed: | 5/17/2005 |
---|
Keywords: | kbhowto kbinfo KB275166 |
---|
|