Average

cahickm2

Board Regular
Joined
May 14, 2007
Messages
101
I need help with an average function. I have 8 colums of data. column A cotains the name of the hardware, B-H contain values for the week. I need to average column b-h where it doesn't include the maximum and minimum value for each row.
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

lenze

Legend
Joined
Feb 18, 2002
Messages
13,690
A quick and dirty answer
Code:
=(SUM(B2:H2)-MAX(B2:H2)-MIN(B2:H2))/5

lenze
 

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,210
i Need Help With An Average Function. I Have 8 Colums Of Data. Column A Cotains The Name Of The Hardware, B-h Contain Values For The Week. I Need To Average Column B-h Where It Doesn't Include The Maximum And Minimum Value For Each Row.

=trimmean(b2:h2,2/count(b2:h2))
 

LxQ

Well-known Member
Joined
Feb 9, 2006
Messages
619
or this:
=SUMPRODUCT(--(B1:H1<MAX(B1:H1)),--(B1:H1>MIN(B1:H1)),--(B1:H1))/5
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,626
Messages
5,838,431
Members
430,547
Latest member
jopshio

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
Top