Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using Average, Maximum & Minimum

Status
Not open for further replies.

Cozmo2

Technical User
Apr 7, 2006
87
US
I need to find the average of a range of numbers after elimating the highest and lowest numbers. Any ideas?
Thanks
 
(SUM(range)-MAX(range)-MIN(range))/COUNT(range)

[Blue]Blue[/Blue] [Dragon]

If I wasn't Blue, I would just be a Dragon...
 
opps:

(SUM(range)-MAX(range)-MIN(range))/(COUNT(range)-2)

[Blue]Blue[/Blue] [Dragon]

If I wasn't Blue, I would just be a Dragon...
 
=SUM(Testrange)-LARGE(Testrange,1)-SMALL(Testrange,1)/(COUNT(Testrange)-2)

Testrange is the name of the range of your numbers.
 
Thank-you, you make it look so easy!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top