Oct 21 2021 05:34 AM
Oct 21 2021 10:39 AM
You can use
=IFERROR(AVERAGEIF(A1:G100,"<>0"),"")
or as an alternative =AVERAGEIF(A1:G100,"<>"&0,A1:G100)
Syntax: IFERROR(value, value_if_error)
You can use the IFERROR function to trap and handle errors in a formula. IFERROR returns a value you specify if a formula evaluates to an error; otherwise, it returns the result of the formula.
Syntax: AVERAGEIF(range, criteria, [average_range])
If range is a blank or text value, AVERAGEIF returns the #DIV0! error value.
If no cells in the range meet the criteria, AVERAGEIF returns the #DIV/0! error value.
I would be happy to know if I could help.
NikolinoDE
Was the answer useful? Mark them as helpful!
This will help all forum participants.