» 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:
- Managing by the Numbers: A Commonsense Guide to Understanding and Using Your Company's Financials: An Essential Resource for Growing Businesses
- Monte Carlo Methods in Finance
- Excel 2002 Power Programming with VBA
- Millionaire Real Estate Mentor : The Secrets of Financial Freedom through Real Estate Investing
- Accounting the Easy Way
- Essentials of Accounting and Post Test Booklet 8, Eighth Edition
No comments have been submitted.

