Help with Averages

Barbers1

New Member
Joined
Mar 29, 2018
Messages
9
Hi,
I am struggling to find a way of working with the average formula and a column of 4 numbers.
I have two scenarios (below) that I can’t seem to find a formula for.

1) I want to be able to ignore any cells that have 0 or blank, so that they do not calculate within the average number.
2) If the range of numbers is all ‘0’s, I want it to count as 0 and not give me a #div/0!

Is this at all possible? Is anyone able to help me?
Thank you
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

Excel 2010
ABCD
10234
2
3
43
Sheet4
Cell Formulas
RangeFormula
A4=IFERROR(AVERAGEIF(A1:D1,">"&0,A1:D1),0)
 
Upvote 0

Forum statistics

Threads
1,221,470
Messages
6,160,029
Members
451,611
Latest member
PattiButche

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top