+ Reply to Thread
Results 1 to 2 of 2

Excluding outlier value based on average

  1. #1
    Registered User
    Join Date
    06-11-2013
    Location
    Ahmedabad, INDIA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Question Excluding outlier value based on average

    Hello everyone,

    I am facing problem in excluding outlier value from excel. I have set of data say about 200. From these set of data I need to take average. The problem is the values which are outside 50 to 150 % of average values needs to be excluded subsequently in consideration of average. (like circular reference). I need to exclude the most deviant value first then recalculate the average, again exclude the value outside limit and so on till all accepted values are within 50 to 150%. Can anyone help on this query? Excel formula or macro shall also be acceptable.

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,811

    Re: Excluding outlier value based on average

    How automated does this need to be? I do this sort of thing occasionally, and I will setup a column with a hand entered toggle value (usually 1 or 0) to indicate which values should be included in the average. Then a simple =AVERAGEIF() (http://office.microsoft.com/en-us/ex...in=HP010342920) function can be used to get the average. Another column will calculate the deviation from the average value for each data point. Then all I need to do is manually toggle the values in the toggle value column for those points that I consider outliers. One would usually hope that there are not very many outliers, so this process usually doesn't take too long.

    If you decide this needs to be automated, I would probably use the same basic layout. Apply the correct combination of fixed and absolute references to the cells, then copy the columns across. Replace the hand entered values in the toggle columns with an appropriate =IF() function. Copy across until the result of the AVERAGEIF() function stops changing.

    If you set it up right and test it carefully, you might be able to get this to work by enabling iteration and building the circular reference. I would be worried that it may not converge on a single value, so I would definitely suggest you test it carefully.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Excluding outlier value based on average
    By abhi254 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-30-2013, 03:44 AM
  2. The rank of average ranks excluding empty cells but including their average.
    By Terminal45 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-21-2012, 03:44 AM
  3. Average excluding DIV/0
    By olga6542 in forum Excel General
    Replies: 1
    Last Post: 06-14-2010, 03:24 PM
  4. [SOLVED] AVERAGE excluding #N/A
    By RonB in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-02-2005, 05:06 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1