Sum Range with Errors


This example shows you how to create an array formula that sums a range with errors.

1. We use the IF and ISERROR function to check for an error.

If and IsError Function

Explanation: the IF function returns 0, if an error is found. If not, it returns the value of the cell.

2. To sum the range with errors (don't be overwhelmed), we add the SUM function and replace A1 with A1:A7.

Array Formula

3. Finish by pressing CTRL + SHIFT + ENTER.

Sum Range with Errors Result

Note: The formula bar indicates that this is an array formula by enclosing it in curly braces {}. Do not type these yourself. They will disappear when you edit the formula.

Explanation: The range (array constant) created by the If function is stored in Excel's memory, not in an range. The array constant looks as follows:


This array constant is used as an argument for the SUM function, giving a result of 13.