Average formula

still learning

Well-known Member
Joined
Jan 15, 2010
Messages
784
Office Version
  1. 365
Platform
  1. Windows
Hi
How would I write a formula to fine an average for a a column that excludes the highest and lowest value.
=average( A4:A200.......not to include the highest or lowest value)

mike
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
What should happen if there are two or more equal highest (or lowest) values in the range? Should the average exclude all the equal ones or just one of them?
 
Upvote 0
Another option would be
Excel Formula:
=AVERAGE(FILTER(A4:A200,(A4:A200<>MAX(A4:A200))*(A4:A200<>MIN(A4:A200))))
 
Upvote 0
Solution
You're welcome.

BTW, I'm not sure if you would be using multiple formulas like this but I have just done some testing with those two formulas and the AVERAGEIFS version seems to be considerably quicker to calculate.
Unless you are using a lot of similar formulas, you would probably never notice the difference though.
 
Upvote 0

Forum statistics

Threads
1,214,827
Messages
6,121,818
Members
449,049
Latest member
cybersurfer5000

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