Google-sheets – Formula not working on Google Sheets #error! Formula Parse Error

formulasgoogle sheets

I have uploaded an excel spreadsheet that works fine but shows as an error on Google Sheets.

=SUM(H12,N12,T12,Z12,AF12,AL12)/INDEX(FREQUENCY((H12,N12,T12,Z12,AF12,AL12),0,2))

Its calculating average amount, but shows #error! and formula parse error.

Any ideas?

Best Answer

=IFERROR(SUM(H10,N10,T10,Z10,AF10,AL10)/COUNTA(H10,N10,T10,Z10,AF10,AL10))

0