+ Reply to Thread
Results 1 to 6 of 6

combining Trimmean and quartile function together

  1. #1
    Registered User
    Join Date
    06-25-2010
    Location
    california
    MS-Off Ver
    Excel 2003
    Posts
    6

    combining Trimmean and quartile function together

    Is it possible to combine the trimmean function with the quartile function?

    I'm trying to take off the top and bottom 10% before calculating the quartiles.

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

    Re: combining Trimmean and quartile function together

    I'm guessing yes. I would like more specifics though.

    Do you want a formula/demonstration of how? A sample workbook upload might help.
    Dave

  3. #3
    Registered User
    Join Date
    06-25-2010
    Location
    california
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: combining Trimmean and quartile function together

    I would like a formula. Sorry I'm unable to upload. So i'll just write it out here

    Product Price Per User
    Item 1 $-
    Item 2 $1.00
    Item 3 $2.00
    Item 4 $4.00
    Item 5 $5.00
    Item 6 $6.00
    Item 7 $7.00
    Item 8 $8.00
    Item 9 $9.00
    Item 10 $10.00
    Item 11 $11.00
    Item 12 $12.00
    Item 13 $13.00
    Item 14 $14.00
    Item 15 $15.00
    Item 16 $9,000.00

    Based on that the current quartile would be

    Without Trim 10 % trim
    Min $-
    Q1 $4.75
    Q2 $8.50
    Q3 $12.25
    Max $9,000.00

    What i'm trying to accomplish is the quartile after the 10% (5% on top and %5 on bottom) trim from that data set. Here's what the quartile would look like now

    With 10% trim
    Min $1.00
    Q1 $5.25
    Q2 $8.50
    Q3 $11.75
    Max $15.00
    Last edited by channguyen; 07-24-2018 at 07:54 PM.

  4. #4
    Registered User
    Join Date
    06-25-2010
    Location
    california
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: combining Trimmean and quartile function together

    I would like a formula. Sorry I'm unable to upload. So i'll just write it out here

    Product Price Per User
    Item 1 $-
    Item 2 $1.00
    Item 3 $2.00
    Item 4 $4.00
    Item 5 $5.00
    Item 6 $6.00
    Item 7 $7.00
    Item 8 $8.00
    Item 9 $9.00
    Item 10 $10.00
    Item 11 $11.00
    Item 12 $12.00
    Item 13 $13.00
    Item 14 $14.00
    Item 15 $15.00
    Item 16 $9,000.00

    Based on that the current quartile would be

    Without Trim 10 % trim
    Min $-
    Q1 $4.75
    Q2 $8.50
    Q3 $12.25
    Max $9,000.00

    What i'm trying to accomplish is the quartile after the 10% (5% on top and %5 on bottom) trim from that data set. Here's what the quartile would look like now

    With 10% trim
    Min $1.00
    Q1 $5.25
    Q2 $8.50
    Q3 $11.75
    Max $15.00

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,567

    Re: combining Trimmean and quartile function together

    Perhaps this will help.
    A helper column, which may be moved and/or hidden for aesthetic purposes, keeps track of which values will be included. The helper column is populated using:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Note that cell E1 contains the percentage of trim.
    The array entered formula* that populates the "w/ trim" column is: =QUARTILE(IF(C$2:C$21=TRUE,B$2:B$21),ROW(1:1)-1)
    *An array entered formula is confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    For future reference the way to attach a sample workbook is to click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

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

    Re: combining Trimmean and quartile function together

    Another way.
    Try array entering this formula as below in D1 and fill down.
    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.



    A
    B
    C
    D
    1
    Item 1
    $0.00
    Min
    $1.00
    2
    Item 2
    $1.00
    Q1
    $5.25
    3
    Item 3
    $2.00
    Q2
    $8.50
    4
    Item 4
    $4.00
    Q3
    $11.75
    5
    Item 5
    $5.00
    Max
    $15.00
    6
    Item 6
    $6.00
    7
    Item 7
    $7.00
    8
    Item 8
    $8.00
    9
    Item 9
    $9.00
    10
    Item 10
    $10.00
    11
    Item 11
    $11.00
    12
    Item 12
    $12.00
    13
    Item 13
    $13.00
    14
    Item 14
    $14.00
    15
    Item 15
    $15.00
    16
    Item 16
    $9,000.00

+ 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] Quartile function
    By HKPHOOY in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-15-2018, 07:06 AM
  2. [SOLVED] Trimmean function with multiple if criteria
    By qcjustin in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-10-2016, 01:28 PM
  3. Feeding a VBA array into a TRIMMEAN function for a UDF
    By Loganeb in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 01-19-2016, 05:36 PM
  4. Correlation for 1st quartile, 2nd quartile, 3rd quartile, 4th quartile
    By DexterG in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-11-2013, 07:17 AM
  5. Replies: 3
    Last Post: 06-01-2012, 02:06 PM
  6. Replies: 2
    Last Post: 04-05-2012, 06:21 PM
  7. Replies: 5
    Last Post: 03-23-2012, 11:59 AM

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