Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,118
Default Average of values in row excluding the highest and lowest value?

Try this:

With
A1:I1 containing numbers

This formula trims the high and low from the range and calcs the average
J1: =TRIMMEAN(A1:I1,2/COUNT(A1:I1))

Is that something you can work with?
***********
Regards,
Ron

XL2002, WinXP


"frosterrj" wrote:

What would be the best way to use the avg() function (or any other
appropriate function) on a column or row while excluding the highest and
lowest value?

is this possible in one cell, or does it have to be split up using min() and
max() somewhere to exclude the value?

Thanks,
Robert

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default Average of values in row excluding the highest and lowest valu

wow, there's a function I've never used before! Can't really wrap my mind
around how 2/count() removed the highest and lowest values though. I get the
correct number anyway. Help for the function describes that argument as the
% to exclude from the calc. Would have never guessed it could mean the
actual top and bottom values.

Thanks for the help.

Robert

"Ron Coderre" wrote:

Try this:

With
A1:I1 containing numbers

This formula trims the high and low from the range and calcs the average
J1: =TRIMMEAN(A1:I1,2/COUNT(A1:I1))

Is that something you can work with?
***********
Regards,
Ron

XL2002, WinXP


"frosterrj" wrote:

What would be the best way to use the avg() function (or any other
appropriate function) on a column or row while excluding the highest and
lowest value?

is this possible in one cell, or does it have to be split up using min() and
max() somewhere to exclude the value?

Thanks,
Robert

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,118
Default Average of values in row excluding the highest and lowest valu

By way of explanation....

The 2/COUNT() calculates the percentage of the numeric values that 2 items
represents. For example, if there are 10 numbers, then 2 represents 20% of
10....which the TRIMMEAN() function culls evenly from the high and low ends
of the values.

I hope that helps.
***********
Regards,
Ron

XL2002, WinXP


"frosterrj" wrote:

wow, there's a function I've never used before! Can't really wrap my mind
around how 2/count() removed the highest and lowest values though. I get the
correct number anyway. Help for the function describes that argument as the
% to exclude from the calc. Would have never guessed it could mean the
actual top and bottom values.

Thanks for the help.

Robert

"Ron Coderre" wrote:

Try this:

With
A1:I1 containing numbers

This formula trims the high and low from the range and calcs the average
J1: =TRIMMEAN(A1:I1,2/COUNT(A1:I1))

Is that something you can work with?
***********
Regards,
Ron

XL2002, WinXP


"frosterrj" wrote:

What would be the best way to use the avg() function (or any other
appropriate function) on a column or row while excluding the highest and
lowest value?

is this possible in one cell, or does it have to be split up using min() and
max() somewhere to exclude the value?

Thanks,
Robert

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 740
Default Average of values in row excluding the highest and lowest valu

excuse me Ron C,. i just want to learn here,
A1:I1 (9 cells non-blank)
i type numbers :1,1,3,3,3,3,3,3,6,6
from the formula the result at J1 = 3.14
please clarify for us....

"Ron Coderre" wrote:

By way of explanation....

The 2/COUNT() calculates the percentage of the numeric values that 2 items
represents. For example, if there are 10 numbers, then 2 represents 20% of
10....which the TRIMMEAN() function culls evenly from the high and low ends
of the values.

I hope that helps.
***********
Regards,
Ron

XL2002, WinXP


"frosterrj" wrote:

wow, there's a function I've never used before! Can't really wrap my mind
around how 2/count() removed the highest and lowest values though. I get the
correct number anyway. Help for the function describes that argument as the
% to exclude from the calc. Would have never guessed it could mean the
actual top and bottom values.

Thanks for the help.

Robert

"Ron Coderre" wrote:

Try this:

With
A1:I1 containing numbers

This formula trims the high and low from the range and calcs the average
J1: =TRIMMEAN(A1:I1,2/COUNT(A1:I1))

Is that something you can work with?
***********
Regards,
Ron

XL2002, WinXP


"frosterrj" wrote:

What would be the best way to use the avg() function (or any other
appropriate function) on a column or row while excluding the highest and
lowest value?

is this possible in one cell, or does it have to be split up using min() and
max() somewhere to exclude the value?

Thanks,
Robert

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,118
Default Average of values in row excluding the highest and lowest valu

In your example:
1,1,3,3,3,3,3,6,6

J1: =TRIMMEAN(A1:I1,2/COUNT(A1:I1)) returns the average of:
1,3,3,3,3,3,6
(discarding single instances of the largest and smallest values)

***********
Regards,
Ron

XL2002, WinXP


"driller" wrote:

excuse me Ron C,. i just want to learn here,
A1:I1 (9 cells non-blank)
i type numbers :1,1,3,3,3,3,3,3,6,6
from the formula the result at J1 = 3.14
please clarify for us....

"Ron Coderre" wrote:

By way of explanation....

The 2/COUNT() calculates the percentage of the numeric values that 2 items
represents. For example, if there are 10 numbers, then 2 represents 20% of
10....which the TRIMMEAN() function culls evenly from the high and low ends
of the values.

I hope that helps.
***********
Regards,
Ron

XL2002, WinXP


"frosterrj" wrote:

wow, there's a function I've never used before! Can't really wrap my mind
around how 2/count() removed the highest and lowest values though. I get the
correct number anyway. Help for the function describes that argument as the
% to exclude from the calc. Would have never guessed it could mean the
actual top and bottom values.

Thanks for the help.

Robert

"Ron Coderre" wrote:

Try this:

With
A1:I1 containing numbers

This formula trims the high and low from the range and calcs the average
J1: =TRIMMEAN(A1:I1,2/COUNT(A1:I1))

Is that something you can work with?
***********
Regards,
Ron

XL2002, WinXP


"frosterrj" wrote:

What would be the best way to use the avg() function (or any other
appropriate function) on a column or row while excluding the highest and
lowest value?

is this possible in one cell, or does it have to be split up using min() and
max() somewhere to exclude the value?

Thanks,
Robert



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula to higlight highest and lowest values in row michelle Excel Worksheet Functions 4 November 20th 06 09:51 PM
average of highest 48 of 52 radom numbers with duplicate low #'s LCB Excel Worksheet Functions 7 May 2nd 06 08:48 PM
Highest & lowest place value / decimal places of cell value Neil Goldwasser Excel Worksheet Functions 2 March 15th 06 02:27 PM
Highest High and Lowest Low jimbob Excel Discussion (Misc queries) 6 March 9th 06 04:11 PM
Rank where lowest value is highest rank mile3024 Excel Worksheet Functions 2 December 9th 05 10:57 PM


All times are GMT +1. The time now is 06:56 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"