ExcelTip.com
ExcelTip.com
Account Icon Account Icon Account Icon
Google Exceltip.com
JOIN OUR NEWSLETTER
  and receive for joining:
Free eBook Learn More!
Free Excel ADD-IN
Free Weekly Excel Tip
4 e-books in cd-rom
F1 Formulas & Functions
F1 Formulas & Functions
F1 EXCEL
F1 eBook (Spanish)
F1 EXCEL
Financial Statements.xls
 

» Summing a range containing errors and values in Microsoft Excel
CATEGORY: Summing


The solution to summing a range that contains errors covers errors of type #VALUE!

Solution 1

In cells A1:A3, the following values appear

A1
#VALUE!
A2
10
A3
20

Enter the following formula in cell A5: =SUMIF(A1:A3,"<>#VALUE!",A1:A3)

The Result: 30


Solution 2

Enter the following formula in cell B1 and copy formula to cells B2:B3 =IF(ISERROR(A1),0,A1)

Enter the following formula in cell B5: =SUM(B1:B3)

The Result: 30

Rate this tip
12 34 5
  RATING: 3.12
  VIEWS: 10551

READER COMMENTS (view all comments)


No comments have been submitted.


REGISTERED USERS - Click here to post comments


GUESTS (Click here to register)
Name
Comment Title
Comments

Writing Excel Macros with VBA, 2nd Edition

Accounting the Easy Way

The 11 Immutable Laws of Internet Branding

Keys to Reading an Annual Report (Barron's Business Keys)

The Laws of Money, The Lessons of Life: Keep What You Have and Create What You Deserve

Successful Business Planning in 30 Days: A Step-By-Step Guide for Writing a Business Plan and Starting Your Own Business

RELATED MICROSOFT EXCEL TIPS


Convert PDF Files to Excel


Excel VBA books
Accounting books
Business Plans
MS Office books
Taxes books

VIEW ALL BOOKS