sum values that are not errors

N

N Lennox

I have the following formula

=((A1+B1+C1+D1+E1+S1)+(F1+G1+H1+I1+J1+T1)/2)/9

and want to write it in a way that it will ignore errors,
however, the catch is that if A is an error than the
forumla must ignore F as well (same for B and G, C and H,
D and I, S and T).


I've been trying formulas with stuctures similar to
=SUM(IF(NOT(ISERROR((A2,B2,C2,D2,E2))),(A2,B2,C2,D2,E2)))
but not having much luck.

Thank you very much.
 
M

Mike

{=(SUM(IF(ISERROR(A1:E1),0,A1:E1),IF(ISERROR(S1),0,S1))+SUM(IF(ISERROR(A1:E1),0,F1:J1),IF(ISERROR(S1),0,T1))/2)/9}
Note: This is an array formula.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top