#1   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.worksheet.functions
Bart Steur
 
Posts: n/a
Default Special function

Hi,

I have a range of cells (100+), which should all have a value of around
3600, so the average should also be around 3600 (minimum should not be lower
then 300, maximum shouldn't be higher than 10000). But sometimes some cells
contain values of -2000000 or +/-2 or +2000000. So when I calculate the
average (using the AVERAGE Function) I get abnormal results.

Is there a function that can automaticly reconize the excessive values and
exclude them from the Average calculation.

Thanks,

Bart


  #2   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.worksheet.functions
Bernie Deitrick
 
Posts: n/a
Default Special function

Bart,

Array enter using Ctrl-Shift-Enter:

=AVERAGE(IF((A1:A100300)*(A1:A100<10000),A1:A100) )

Change range to match your actual values.

HTH,
Bernie
MS Excel MVP


"Bart Steur" wrote in message ...
Hi,

I have a range of cells (100+), which should all have a value of around 3600, so the average
should also be around 3600 (minimum should not be lower then 300, maximum shouldn't be higher than
10000). But sometimes some cells contain values of -2000000 or +/-2 or +2000000. So when I
calculate the average (using the AVERAGE Function) I get abnormal results.

Is there a function that can automaticly reconize the excessive values and exclude them from the
Average calculation.

Thanks,

Bart



  #3   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.worksheet.functions
Bernard Liengme
 
Posts: n/a
Default Special function

This works for me
=SUMPRODUCT(--(A1:A100=300),--(A1:A100<=10000),A1:A100)/SUMPRODUCT(--(A1:A100=300),--(A1:A100<=10000))

--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Bart Steur" wrote in message
...
Hi,

I have a range of cells (100+), which should all have a value of around
3600, so the average should also be around 3600 (minimum should not be
lower then 300, maximum shouldn't be higher than 10000). But sometimes
some cells contain values of -2000000 or +/-2 or +2000000. So when I
calculate the average (using the AVERAGE Function) I get abnormal results.

Is there a function that can automaticly reconize the excessive values and
exclude them from the Average calculation.

Thanks,

Bart



  #4   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.worksheet.functions
Bart Steur
 
Posts: n/a
Default Special function

There is no statistical/analitical function to do this. A function that
recognizes high or low values compared to the rest and excludes them?

Bart


"Bernard Liengme" wrote in message
...
This works for me
=SUMPRODUCT(--(A1:A100=300),--(A1:A100<=10000),A1:A100)/SUMPRODUCT(--(A1:A100=300),--(A1:A100<=10000))

--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Bart Steur" wrote in message
...
Hi,

I have a range of cells (100+), which should all have a value of around
3600, so the average should also be around 3600 (minimum should not be
lower then 300, maximum shouldn't be higher than 10000). But sometimes
some cells contain values of -2000000 or +/-2 or +2000000. So when I
calculate the average (using the AVERAGE Function) I get abnormal
results.

Is there a function that can automaticly reconize the excessive values
and exclude them from the Average calculation.

Thanks,

Bart





  #5   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.worksheet.functions
Bernard Liengme
 
Posts: n/a
Default Special function

No, there is no built-in function that knows about 'outliers'

--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Bart Steur" wrote in message
...
There is no statistical/analitical function to do this. A function that
recognizes high or low values compared to the rest and excludes them?

Bart


"Bernard Liengme" wrote in message
...
This works for me
=SUMPRODUCT(--(A1:A100=300),--(A1:A100<=10000),A1:A100)/SUMPRODUCT(--(A1:A100=300),--(A1:A100<=10000))

--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Bart Steur" wrote in message
...
Hi,

I have a range of cells (100+), which should all have a value of around
3600, so the average should also be around 3600 (minimum should not be
lower then 300, maximum shouldn't be higher than 10000). But sometimes
some cells contain values of -2000000 or +/-2 or +2000000. So when I
calculate the average (using the AVERAGE Function) I get abnormal
results.

Is there a function that can automaticly reconize the excessive values
and exclude them from the Average calculation.

Thanks,

Bart









  #6   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.worksheet.functions
Ron Rosenfeld
 
Posts: n/a
Default Special function

On Fri, 30 Dec 2005 12:20:17 +0100, "Bart Steur" wrote:

There is no statistical/analitical function to do this. A function that
recognizes high or low values compared to the rest and excludes them?

Bart



Take a look at HELP for the TRIMMEAN function. This can help you eliminate
outliers.


--ron
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
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Hyperlinks using R[1]C[1] and offset function in its cell referenc Elijah-Dadda Excel Worksheet Functions 0 March 5th 05 03:31 AM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. Robert AS Excel Worksheet Functions 4 December 2nd 04 10:49 AM
Find a Function to use accross different worksheets R. Hale Excel Worksheet Functions 3 November 25th 04 07:07 AM


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