Getting error message #DIV/0! when using the following formula =AVERAGE(B6:I6).
How do I correct when some cells have a zero?
Getting error message #DIV/0! when using the following formula =AVERAGE(B6:I6).
How do I correct when some cells have a zero?
Last edited by ingie424; 11-02-2011 at 03:18 PM.
You will only get an error when no cells have numbers
You can avoid that with IFERROR to return a blank
=IFERROR(AVERAGE(B6:I6),"")
....but that will still include zeroes in the average, if you want to average without zeroes use AVERAGEIF instead, i.e.
=IFERROR(AVERAGEIF(B6:I6,">0"),"")
Audere est facere
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks