#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 577
Default Average formula

Is there a manipulation to the "average" function that allows a user to take
the average of a set of data and exclude the maximum and minimum value of the
entire set? I am using a LARGE set of data and I do not want to have to sort
data from min to max ,if I can avoid it.

Thanks for the help.

If such a manipulation in Excel is available, does it work for other
functions?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default Average formula

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

will exclude min and max

replace A1:A5000 with your data range.

--


Regards,


Peo Sjoblom

"scott" wrote in message
...
Is there a manipulation to the "average" function that allows a user to
take
the average of a set of data and exclude the maximum and minimum value of
the
entire set? I am using a LARGE set of data and I do not want to have to
sort
data from min to max ,if I can avoid it.

Thanks for the help.

If such a manipulation in Excel is available, does it work for other
functions?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Average formula

for samples from A1 thru A100:

=(SUM(A1:A100)-MAX(A1:A100)-MIN(A1:A100))/98

make the obvious adjustment for the dataset
--
Gary''s Student - gsnu200803


"scott" wrote:

Is there a manipulation to the "average" function that allows a user to take
the average of a set of data and exclude the maximum and minimum value of the
entire set? I am using a LARGE set of data and I do not want to have to sort
data from min to max ,if I can avoid it.

Thanks for the help.

If such a manipulation in Excel is available, does it work for other
functions?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default Average formula

To generalize this:

=(SUM(A1:A100)-MAX(A1:A100)-MIN(A1:A100))/(COUNT(A1:A100)-2)

Regards
Fred

"Gary''s Student" wrote in message
...
for samples from A1 thru A100:

=(SUM(A1:A100)-MAX(A1:A100)-MIN(A1:A100))/98

make the obvious adjustment for the dataset
--
Gary''s Student - gsnu200803


"scott" wrote:

Is there a manipulation to the "average" function that allows a user to
take
the average of a set of data and exclude the maximum and minimum value of
the
entire set? I am using a LARGE set of data and I do not want to have to
sort
data from min to max ,if I can avoid it.

Thanks for the help.

If such a manipulation in Excel is available, does it work for other
functions?


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
A formula to AVERAGE IF but only average a set number of values [email protected] Excel Worksheet Functions 2 January 31st 08 08:28 PM
Average formula ferg Excel Discussion (Misc queries) 6 July 19th 06 06:10 PM
Average Row Formula Tom Excel Discussion (Misc queries) 2 May 7th 05 03:11 PM
how does one convert text to a formula "average(A:A)" to =average( phshirk Excel Worksheet Functions 4 April 14th 05 01:20 AM
Average Formula Vinaya Excel Worksheet Functions 1 October 29th 04 01:53 PM


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