Filter and average ignoring zero

MH Tan

New Member
Joined
Apr 29, 2023
Messages
1
Office Version
  1. 2013
Platform
  1. Windows
Hi

I have a set of data and all field with filter. One of them I need to average them and ignoring zero.

I have tried with =IFERROR(AVERAGEIF(range,">0"),0).

It is Ok on igoring zero but not change with filter.

Please teach on what formula I should do?

Thanks

MH
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
try:
Book1
ABCDE
1
210221022
31010
450
520
65020
720
820
Sheet1
Cell Formulas
RangeFormula
B2B2=AVERAGEIF(A2:A8,"<>"&0)
E2E2=AVERAGE(D2:D6)
 
Upvote 0

Forum statistics

Threads
1,215,582
Messages
6,125,659
Members
449,247
Latest member
wingedshoes

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