LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #15   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Average a list with high and low ignored

=AVERAGE(IF(AND(D4:D150,D4:D15<X1,D4:D15Y1),D4: D15))

That won't work. AND doesn't return an array, it returns a single value,
either TRUE or FALSE. So, *every* argument must evaluate to TRUE. In this
case it will *always* return FALSE because at least one value will never be
less than the MAX and one value will never be greater than the MIN value.


--
Biff
Microsoft Excel MVP


"Pete_UK" wrote in message
...
You could try this variation:

=AVERAGE(IF(AND(D4:D150,D4:D15<X1,D4:D15Y1),D4:D 15))

whe
X1: =MAX(D4:D15)
Y1: =MIN(D4:D15)

By the way, doesn't you range cover more than 10 numbers?

Hope this helps.

Pete

On Feb 6, 4:49 pm, Shu of AZ
wrote:
In the example below, there are 8 of a possible 10 numbers. The amount
varies but never more than 10. These numbers represent a value of an
equation earlier on in the worksheet. I need to be able to formulate the
average of these numbers after the high and low has been removed. In this
case, 52.28 would not be used nor would 50.81. I currently use
{=AVERAGE(IF(D4:D150,D4:D15))} to do the average of all but need to
remove
the high and low automatically. Can anyone assist in this? Thanks in
advance.

51.32
51.54
51.74
50.93
52.28
51.07
51.85
50.81
Blank
Blank
= Average with the high and low taken out





 
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 of a list with high and low ignored Shu of AZ Excel Discussion (Misc queries) 3 February 6th 08 05:21 PM
Average the last 7 numbers on a list C21man.com Excel Worksheet Functions 1 August 17th 07 02:14 AM
How can I average data from a repeating list into a unique list? Bob Phillips Excel Worksheet Functions 0 March 3rd 06 06:47 PM
How can I average data from a repeating list into a unique list? Duke Carey Excel Worksheet Functions 0 March 3rd 06 06:38 PM
High score list? nc-nc New Users to Excel 1 January 17th 05 10:33 AM


All times are GMT +1. The time now is 09:45 PM.

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"