Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CM CM is offline
external usenet poster
 
Posts: 136
Default getting an average while excluding high and low input

got an error trying to reply to post:

for values in a1 to a5:

try this
=(SUM(A1:A5)-MAX(A1:A5)-MIN(A1:A5))/(ROWS(A1:A5)-2)


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default getting an average while excluding high and low input

Hi,

Because the OP never used the big white space to ask the question I too get
an error. Another way

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

But what happen if there are 2 max or min, that requires a different
approach if you want them all excluding

Mike

"cm" wrote:

got an error trying to reply to post:

for values in a1 to a5:

try this
=(SUM(A1:A5)-MAX(A1:A5)-MIN(A1:A5))/(ROWS(A1:A5)-2)


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
getting an average while excluding high and low input obivaughn Excel Worksheet Functions 0 September 30th 09 07:55 PM
How do I exclude the HIGH and LOW values in the =AVERAGE function DeWayne Excel Worksheet Functions 2 September 17th 09 11:37 PM
Average a list with high and low ignored Shu of AZ Excel Worksheet Functions 21 February 7th 08 07:00 AM
Average of a list with high and low ignored Shu of AZ Excel Discussion (Misc queries) 3 February 6th 08 05:21 PM
macro security too high in excel, I can not get into input data Diane Excel Worksheet Functions 5 April 4th 06 11:51 PM


All times are GMT +1. The time now is 08:33 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"