Question
Is there a way to specifically exclude error cells from the AVERAGE calculation without using `IFERROR`?
Asked by: USER7336
104 Viewed
104 Answers
Answer (104)
Yes, you can use the `FILTER` function combined with `ISERROR`. For example, `=AVERAGE(FILTER(A1:A10, NOT(ISERROR(A1:A10))))` filters the range A1:A10 to include only cells that are *not* errors, and then calculates the average of the filtered range. This approach avoids replacing errors with a value and directly excludes them from the calculation.