Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 187
Default ignore MAX and MIN values in a set to calculate average

I have a set of numbers, say in range A1:A10. I've determined that
the maximum and minimum values in this set are outliers and so want to
ignore them when calculating the average.

I know I can ignore either the max OR the min by using one of these
array formulas: =AVERAGE(IF(A1:A10<MAX(A1:A10),A1:A10)) or
=AVERAGE(IF(A1:A10MIN(A1:A10),A1:A10))

How could I combine exclusion of both MAX and MIN?

Dave

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default ignore MAX and MIN values in a set to calculate average

Try this:

=TRIMMEAN(A1:A10,2/COUNT(A1:A10))

--
Biff
Microsoft Excel MVP


"Dave F" wrote in message
ups.com...
I have a set of numbers, say in range A1:A10. I've determined that
the maximum and minimum values in this set are outliers and so want to
ignore them when calculating the average.

I know I can ignore either the max OR the min by using one of these
array formulas: =AVERAGE(IF(A1:A10<MAX(A1:A10),A1:A10)) or
=AVERAGE(IF(A1:A10MIN(A1:A10),A1:A10))

How could I combine exclusion of both MAX and MIN?

Dave



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default ignore MAX and MIN values in a set to calculate average

See the TRIMMEAN function in Excel Help.

Then try something like this:

=TRIMMEAN(A1:A10,2/COUNT(A1:A10))

Is that something you can work with?
--------------------------

Regards,

Ron (XL2003, Win XP)
Microsoft MVP (Excel)

"Dave F" wrote in message
ups.com...
I have a set of numbers, say in range A1:A10. I've determined that
the maximum and minimum values in this set are outliers and so want to
ignore them when calculating the average.

I know I can ignore either the max OR the min by using one of these
array formulas: =AVERAGE(IF(A1:A10<MAX(A1:A10),A1:A10)) or
=AVERAGE(IF(A1:A10MIN(A1:A10),A1:A10))

How could I combine exclusion of both MAX and MIN?

Dave



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default ignore MAX and MIN values in a set to calculate average

One way:

=TRIMMEAN(A1:A10,0.2)


In article . com,
Dave F wrote:

I have a set of numbers, say in range A1:A10. I've determined that
the maximum and minimum values in this set are outliers and so want to
ignore them when calculating the average.

I know I can ignore either the max OR the min by using one of these
array formulas: =AVERAGE(IF(A1:A10<MAX(A1:A10),A1:A10)) or
=AVERAGE(IF(A1:A10MIN(A1:A10),A1:A10))

How could I combine exclusion of both MAX and MIN?

Dave

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default ignore MAX and MIN values in a set to calculate average

=TRIMMEAN(A1:A10,20%) will eliminate the outlying 20% from your set of 10
data points, so it will lose 1 point from each end of the range.
--
David Biddulph

"Dave F" wrote in message
ups.com...
I have a set of numbers, say in range A1:A10. I've determined that
the maximum and minimum values in this set are outliers and so want to
ignore them when calculating the average.

I know I can ignore either the max OR the min by using one of these
array formulas: =AVERAGE(IF(A1:A10<MAX(A1:A10),A1:A10)) or
=AVERAGE(IF(A1:A10MIN(A1:A10),A1:A10))

How could I combine exclusion of both MAX and MIN?

Dave





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default ignore MAX and MIN values in a set to calculate average

And if you want to exclude multiple values of MAX and MIN
(array-entered):

=AVERAGE(IF(A1:A10<MAX(A1:A10),IF(A1:A10<MIN(A1: A10),A1:A10)))


In article ,
JE McGimpsey wrote:

One way:

=TRIMMEAN(A1:A10,0.2)


In article . com,
Dave F wrote:

I have a set of numbers, say in range A1:A10. I've determined that
the maximum and minimum values in this set are outliers and so want to
ignore them when calculating the average.

I know I can ignore either the max OR the min by using one of these
array formulas: =AVERAGE(IF(A1:A10<MAX(A1:A10),A1:A10)) or
=AVERAGE(IF(A1:A10MIN(A1:A10),A1:A10))

How could I combine exclusion of both MAX and MIN?

Dave

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
how to calculate average value in a row ignoring values below "x" ed both Excel Discussion (Misc queries) 3 July 25th 07 05:56 PM
Calculate the average of numbers, ignoring multiple values Quintessence Excel Discussion (Misc queries) 2 May 30th 07 04:35 PM
Calculate average and not include zero values k1ngy Excel Discussion (Misc queries) 5 March 6th 07 07:59 PM
Looking-up Columns w/calc'd Values ONLY to Calculate Average sony654 Excel Worksheet Functions 5 April 21st 06 06:21 AM
calculate average in percentage coloumn with #DIV/! (ignore error neelsels SA Excel Discussion (Misc queries) 2 September 6th 05 02:10 PM


All times are GMT +1. The time now is 11:45 PM.

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

About Us

"It's about Microsoft Excel"