+ Reply to Thread
Results 1 to 5 of 5

Trimmean formula or alternative

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    11-08-2011
    Location
    Leeds
    MS-Off Ver
    Excel 2010
    Posts
    279

    Trimmean formula or alternative

    Hi All,

    I know the trimmean formula works by removing certain values from the bottom and top of a range.

    What I need is a formula which only takes away from the top of the range. I have put an example below.

    If the trimmean formula isnt capable of calculating is there an alternative solution

    I want to average the bottom 90% of values.

    1 Include
    2 Include
    5 Include
    6 Include
    8 Exclude
    2 Include
    3 Include
    4 Include
    2 Include
    1 Include

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,896

    Re: Trimmean formula or alternative

    A solution that uses a helper column assuming the numbers are in A1:A10 paste the following formula in B1 then double click down:
    =RANK.EQ(A1,A$1:A$10,1)<90%*COUNT(A$1:A$10)
    Paste the following formula in C1:
    =AVERAGEIFS(A1:A10,B1:B10,TRUE)
    Let me know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Forum Contributor
    Join Date
    11-08-2011
    Location
    Leeds
    MS-Off Ver
    Excel 2010
    Posts
    279

    Re: Trimmean formula or alternative

    HI Jetemc

    Sorry I should of said at the outset, I am using excel 2003 unfortunately that doesnt contain the Rank.EQ formula.

    Do you know of another way around this?

    Thanks for your time looking into this

  4. #4
    Forum Contributor
    Join Date
    11-08-2011
    Location
    Leeds
    MS-Off Ver
    Excel 2010
    Posts
    279

    Re: Trimmean formula or alternative

    Hi Jetemc sorry I was mistaken we are using excel 2007

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,896

    Re: Trimmean formula or alternative

    I get the same results when testing with RANK so hopefully just changing the formula to read as follows in B1 and down will work for you:

    EDIT: In addition I changed % in the formula in B1 and down so that it reads:
    =RANK(E1,E$1:E$10,1)<90.00000000001%*COUNT(E$1:E$10)
    Let me know if you have any questions.
    Last edited by JeteMc; 02-25-2016 at 02:09 PM. Reason: Correcting an error in formula

+ 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. Alternative TRIMMEAN
    By Brennen81 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-06-2015, 09:29 AM
  2. [SOLVED] Trimmean in Pivot Table
    By botanybob in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 11-11-2014, 11:03 AM
  3. [SOLVED] Using TRIMMEAN on a selection of data
    By Krogerstrom in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-05-2013, 06:50 AM
  4. [SOLVED] TRIMMEAN & OFFSET together
    By JTM1200 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-11-2012, 05:23 PM
  5. Replies: 3
    Last Post: 08-15-2010, 09:27 PM
  6. [SOLVED] TRIMMEAN with different percentiles?
    By agbiggs@hotmail.com in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-14-2006, 01:15 PM
  7. [SOLVED] Trimmean for limited array
    By Sige in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-31-2006, 12:30 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