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.
 

Some videos you may like

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.

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,203
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
 

Watch MrExcel Video

Forum statistics

Threads
1,128,177
Messages
5,629,182
Members
416,370
Latest member
Lgathana

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