MIN MAX AND AVERAGE - Excluding Zero value

EleanorSykes1989

New Member
Joined
Aug 7, 2017
Messages
16
Hi,

Wondering if anyone can help please. I need to find the min, average and max values from a column in excel.

However, I need to exclude any "0" values, and to save be changing the range I need to also find the average based on a set criteria.

So, like an average value in one column, but only if the factory name is "Derby"


Thanks
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
How about


Book1
ABCD
2Cumbria3Max11
3Derbyshire4Min2
4Derbyshire0Average4.5
5West Yorkshire2
6Derbyshire3
7West Yorkshire0
8Derbyshire4
9Staffordshire5
10Derbyshire11
11Derbyshire0
12Cheshire6
13Derbyshire7
14Greater Manchester7
15Derbyshire7
Sheet2
Cell Formulas
RangeFormula
D2=MAX(B2:B15)
D3=AGGREGATE(15,6,B2:B15/(B2:B15>0),1)
D4=AVERAGEIF(A2:A15,A3,B2:B15)
 
Upvote 0

Forum statistics

Threads
1,223,703
Messages
6,173,973
Members
452,540
Latest member
haasro02

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