» Count the number of cells in a range containing all types of Errors in Microsoft Excel
CATEGORY - Counting , Excel Array Formulas
VERSION - All Microsoft Excel Versions
The Function to calculate number of cells containing all types of errors:
• {=SUM(IF(ISERROR(A1:B15),1))}
The Function to calculate number of cells containing error type #N/A:
• {=SUM(IF(ISNA(A1:B15),1))}
The Function to calculate number of cells containing error type #NULL!:
• {=SUM(IF(ISNA(ERROR.TYPE(A1:B15)),0,IF(ERROR.TYPE(A1:B15)=1,1,0)))}
The Function to calculate number of cells containing error type #DIV/0!:
• {=SUM(IF(ISNA(ERROR.TYPE(A1:B15)),0,IF(ERROR.TYPE(A1:B15)=2,1,0)))}
The Function to calculate number of cells containing error type #VALUE!:
• {=SUM(IF(ISNA(ERROR.TYPE(A1:B15)),0,IF(ERROR.TYPE(A1:B15)=3,1,0)))}
The Function to calculate number of cells containing error type #REF!:
• {=SUM(IF(ISNA(ERROR.TYPE(A1:B15)),0,IF(ERROR.TYPE(A1:B15)=4,1,0)))}
The Function to calculate number of cells containing error type #NAME?:
• {=SUM(IF(ISNA(ERROR.TYPE(A1:B15)),0,IF(ERROR.TYPE(A1:B15)=5,1,0)))}
The Function to calculate number of cells containing error type #NUM!:
• {=SUM(IF(ISNA(ERROR.TYPE(A1:B15)),0,IF(ERROR.TYPE(A1:B15)=6,1,0)))}
Note
The formulas are Array formulas.
After inserting a formula to cell, press F2 and then press Ctrl+Shift+Enter to change each formula to an Array formula.
Book Store:
Recommended Books:
- Microsoft Office XP Step-By-Step (With CD-ROM)
- Adventure Capitalist: The Ultimate Road Trip
- Windows XP for Dummies
- Seven Habits Of Highly Effective People
- H&R Block's Just Plain Smart(tm) Tax Planning Advisor: A year-round approach to lowering your taxes this year, next year and beyond
- 422 Tax Deductions for Businesses and Self-Employed Individuals : You Get a Raise Every Time You Find a Legitimate Tax Deduction
No comments have been submitted.

