+ Reply to Thread
Results 1 to 5 of 5

How to create an array of outliers from a data set?

  1. #1
    Registered User
    Join Date
    11-05-2018
    Location
    Toronto, Ontario
    MS-Off Ver
    2019
    Posts
    2

    How to create an array of outliers from a data set?

    I already calculated the upper and lower fence for my data set, how do I create an array that has every outlier (lower than lower fence or greater than upper fence)?

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2404
    Posts
    13,406

    Re: How to create an array of outliers from a data set?

    Hi InnovationTT. Welcome to the forum.

    Please try testing this. You may have to array enter depending upon what you intend to do with it. If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Dave

  3. #3
    Registered User
    Join Date
    11-05-2018
    Location
    Toronto, Ontario
    MS-Off Ver
    2019
    Posts
    2

    Re: How to create an array of outliers from a data set?

    But that's a boolean expression right? so it will always return true or false right? I need the actual numbers that are outliers. For example if the data set is {-2999, 3, 6, 10, 23999} then I want to create a formula that will create an array with {-2999, 23999}.

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: How to create an array of outliers from a data set?

    Quote Originally Posted by InnovationTT View Post
    But that's a boolean expression right? so it will always return true or false right? I need the actual numbers that are outliers. For example if the data set is {-2999, 3, 6, 10, 23999} then I want to create a formula that will create an array with {-2999, 23999}.
    Not quite. Using that dataset with the appropriate 'fences', FlameRetired's solution would return the array

    {-2999;FALSE;FALSE;FALSE;23999}

    That can of course be reduced to an array comprising the two non-Booleans only, though whether this is necessary largely depends upon what you intend to do with the array next.

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,091

    Re: How to create an array of outliers from a data set?

    Please note that this and in fact most forums require you to disclose where else you have asked the same question. I am providing a link for you this time - please ensure that you comply with our very simple rules yourself in future. Thanks!

    https://www.mrexcel.com/forum/excel-...-data-set.html
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. [SOLVED] Looking for excel formulas to identiry outliers and correcting demand data
    By dev.jajati in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-29-2014, 03:36 PM
  2. array formula for calculating outliers
    By ravinatanson in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-01-2013, 08:54 PM
  3. Getting rid of data outliers
    By mwwoodm in forum Excel General
    Replies: 0
    Last Post: 05-10-2012, 08:47 PM
  4. Finding Outliers and Obtaining the Data
    By nigerla in forum Excel General
    Replies: 3
    Last Post: 03-19-2012, 11:19 AM
  5. Replies: 1
    Last Post: 10-17-2011, 02:07 AM
  6. Replies: 0
    Last Post: 10-01-2008, 03:34 PM
  7. Replies: 3
    Last Post: 03-17-2005, 05:06 PM

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