Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Ken Ken is offline
external usenet poster
 
Posts: 590
Default Average (exclude 1 min & 1 max Value)

Excel2003 ...

Range D5:R5 contains positive numbers (not sorted) & some numbers may repeat.

I wish to AVG range (exclude 1 Min & 1 Max Value) ... In the list below I
wish to AVG (exclude 1 min value ( 24 ) & 1 max value ( 55 ).

25-26-42-53-24-32-45-35-43-24-55-43-24-55-43-43-45-46-36-34

Thanks ... Kha
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Average (exclude 1 min & 1 max Value)

one way:
=(sum(d5:r5)-min(d5:r5)-max(d5:r5)))/(count(d5:r5)-2)

another:
=TRIMMEAN(d5:r5,(COUNT(d5:r5)-2)/COUNT(d5:r5))

Ken wrote:

Excel2003 ...

Range D5:R5 contains positive numbers (not sorted) & some numbers may repeat.

I wish to AVG range (exclude 1 Min & 1 Max Value) ... In the list below I
wish to AVG (exclude 1 min value ( 24 ) & 1 max value ( 55 ).

25-26-42-53-24-32-45-35-43-24-55-43-24-55-43-43-45-46-36-34

Thanks ... Kha


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
Ken Ken is offline
external usenet poster
 
Posts: 590
Default Average (exclude 1 min & 1 max Value)

Good morning Dave ...

Your 1st solution is the one I came up with ... but it took me awhile to
figure out the placement of the parenthesies.

Above said ... Thank you for supporting these boards ... Kha

"Dave Peterson" wrote:

one way:
=(sum(d5:r5)-min(d5:r5)-max(d5:r5)))/(count(d5:r5)-2)

another:
=TRIMMEAN(d5:r5,(COUNT(d5:r5)-2)/COUNT(d5:r5))

Ken wrote:

Excel2003 ...

Range D5:R5 contains positive numbers (not sorted) & some numbers may repeat.

I wish to AVG range (exclude 1 Min & 1 Max Value) ... In the list below I
wish to AVG (exclude 1 min value ( 24 ) & 1 max value ( 55 ).

25-26-42-53-24-32-45-35-43-24-55-43-24-55-43-43-45-46-36-34

Thanks ... Kha


--

Dave Peterson

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
Average non-adjacent cells & exclude zeros Danni2004 Excel Discussion (Misc queries) 3 September 18th 07 04:00 PM
Exclude zero values using average function in a pivot table abs Excel Discussion (Misc queries) 1 July 6th 06 12:25 PM
How do I exclude a cell from an average calculation when the cell. Sam Excel Discussion (Misc queries) 1 September 7th 05 05:16 PM
How to average a column, but exclude zero AND negative values? KMHarpe Excel Discussion (Misc queries) 1 July 20th 05 10:06 PM
Limit or Exclude cells in Average and Sum formula dagger Excel Worksheet Functions 3 July 7th 05 03:52 PM


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