» Using Cell Reference with Keyboard signs in the Criteria Range argument when using COUNTIF formula.
CATEGORY - Excel Text Formulas
VERSION - All Microsoft Excel Versions
When you want to use the greater, less or equal signs ("<",">","=") in the criteria range of the COUNTIF formula you should include the expression within quotation marks.
Example: =COUNTIF(A1:A8,">=4")
Problem:
A problem arises if you want to use a cell reference in place of the number.
It is wrong to include it within quotation marks.
=COUNTIF(A1:A8, ">=B1") since Excel will identify the cell reference as a string
Solution:
The key is to include only the signs (<,>, =) within quotation marks and use the “&” operator to join (CONCATENATE) them with the cell reference:
=COUNTIF(A1:A8, ">="&B1)

Book Store:
Recommended Books:
- Managing by the Numbers: A Commonsense Guide to Understanding and Using Your Company's Financials: An Essential Resource for Growing Businesses
- Special Edition Using Microsoft Word 2002
- Accounting Principles, with CD, 6th Edition
- Financial Peace: Revisited
- Excel 2002 Power Programming with VBA
- The Basics of Finance: Financial Tools for Non Financial Managers
No comments have been submitted.


