Discussion Locked

Average without two lowest values

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I would like to write a formula in Excel to find the average of a list of values excluding the two lowest values in the list.

9 replies

by dklippert

From Chip Pearson?s web site (http://www.cpearson.com/excel/excelF.htm)

?To average the N largest numbers in a range, use the array formula

=AVERAGE(LARGE(A1:A60,ROW(INDIRECT("1:10"))))

Change "1:10" to "1:N" where N is the number of valuesto average.?

An array is entered using Ctrl+Shift+Enter. It will appear with curley brackets { }, but they can not be entered from the keyboard.

Here?s another take

=AVERAGE(LARGE(A1:A60,ROW(INDIRECT("1:"&COUNT(A1:A60)))))

A1:A60 could be replaced with a range name:

You can create a dynamic range name by defining the name (Insert>Name>Define)like this:

Enter the name (Fred) and put the following in the definition box.

=OFFSET(Sheet1!$A$1,0,0,COUNTA(sheet1!$A:$A),)

The array formula would then be:

=AVERAGE(LARGE(Fred,ROW(INDIRECT("1:"&COUNT(Fred)))))

This will resize itself as the list expands.

by dklippert

Sorry, you have to subtract two from the count. The formula should look like this:

=AVERAGE(LARGE(A1:A60,ROW(INDIRECT("1:"&COUNT(A1:A60)-2))))

or

=AVERAGE(LARGE(Fred,ROW(INDIRECT("1:"&COUNT(Fred)-2))))

by mbarker734

You can use the following formula to achieve your average.

=(SUM(A1:A5)-(MIN(A1:A5)+SMALL(A1:A5,2)))/(COUNT(A1:A5)-2)

The reference in the formula using the word small actually would better be termed smallest the ,2 is referencing the second smallest number in the list of values.

You could use Small(A1:A5,1)instead of the Min(A1:A5) the result is the same - the smallest number in the cell range.

Count(A1:A5) returns the number of cells in the range. You must then subtract 2 from this number for the 2 values you are not wanting to include in the average.

I think you get the drift.

Hope this helped,

Mark

by mbarker734

Does the answer seem to simple to rate? Should I have made the answer more complicated? The question only seems hard until you have the answer.

This discussion is closed to new replies.