+ Reply to Thread
Results 1 to 4 of 4

array formula for calculating outliers

  1. #1
    Registered User
    Join Date
    02-01-2013
    Location
    Seatte
    MS-Off Ver
    Excel 2011
    Posts
    3

    array formula for calculating outliers

    I am attempting to calculate an average without outliers (2 standard deviations from the mean) for a huge amount of data conditional on criteria in another column. Column A has numbers Column B text....

    Column A Column B
    1 Tank
    2 Tank
    3 Tank
    Blank Row
    5 Bin
    6 Bin
    7 Tank

    Column B
    TankI need to calculate the average without outliers for column A where column B specifies "Tank"
    Any help would be VERY MUCH appreciated. And yes, I know I need to control shift enter.

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: array formula for calculating outliers

    hi ravinatanson, welcome to the forum. yes you can try the array:
    =AVERAGE(IF(B1:B7="Tank",A1:A7))

    not sure if this regular formula is available in Mac:
    =AVERAGEIF(B1:B7,"Tank",A1:A7)

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    02-01-2013
    Location
    Seatte
    MS-Off Ver
    Excel 2011
    Posts
    3

    Re: array formula for calculating outliers

    Thank you for your reply.
    I do know how to write that formula to pull out only the Tank values however I need to also exclude outliers when I do the calculation and I cannot for the life of me figure it out.

  4. #4
    Registered User
    Join Date
    02-01-2013
    Location
    Seatte
    MS-Off Ver
    Excel 2011
    Posts
    3

    Re: array formula for calculating outliers

    PS the goal is to not have to create an additional column that excludes outliers. I would like to get it all in one formula. I have a massive amount of data and if I had to create new columns it would be 50 of them.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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