If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 Average (exclude 1 min & 1 max Value)
 Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

## Average (exclude 1 min & 1 max Value)

#1
September 10th 08, 12:53 PM posted to microsoft.public.excel.misc
 Ken external usenet poster Posts: 590
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
September 10th 08, 01:10 PM posted to microsoft.public.excel.misc
 Dave Peterson external usenet poster Posts: 35,220
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
September 10th 08, 01:33 PM posted to microsoft.public.excel.misc
 Ken external usenet poster Posts: 590
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
>

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts vB code is On Smilies are On [IMG] code is On HTML code is Off
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Excel Newsgroups     Excel Discussion (Misc queries)     Setting up and Configuration of Excel     New Users to Excel     Excel Worksheet Functions     Links and Linking in Excel     Charts and Charting in Excel     Excel Programming About ExcelBanter     About this forum

 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:11 PM.