+ Reply to Thread
Results 1 to 4 of 4

Conditional Quartile.INC function

  1. #1
    Registered User
    Join Date
    02-04-2016
    Location
    New Zealand
    MS-Off Ver
    MS Office 2013
    Posts
    2

    Question Conditional Quartile.INC function

    Hi guys,

    Can you help me please? I need your expertise.

    Can I make multiple box plots based on one table? My tables resembles the one below:

    Apple 4
    Orange 2
    Apple 8
    Orange 1
    Apple 2
    Apple 9
    Apple 3

    How do I apply a condition to the QUARTILE.INC() so it picks up the numbers of Apple with Orange, without making another table?

    ::: UPDATE :::

    So the Quartile function is: =QUARTILE.INC(array, quart). I need a formula for "array" to use specific cells correlated to Apple. Still trying...
    Last edited by nzgin; 02-08-2016 at 04:43 AM. Reason: UPDATE

  2. #2
    Forum Expert
    Join Date
    08-02-2013
    Location
    Québec
    MS-Off Ver
    Excel 2003, 2007, 2013
    Posts
    1,412

    Re: Conditional Quartile.INC function

    Hi nzgin and welcome to the forum,

    Assuming that your table start in A1, try this array formula

    =QUARTILE.INC(IF($A$1:$A$7="Apple",$B$1:$B$7,"x"),1)

    Note that array formula must be validated using CTRL + SHIFT + ENTER
    The formula will create an array, keeping only the values correlated with Apple. Other are replaced by a letter and are not computed by the Quartile function.
    GC Excel

    If this post helps, then click the star icon (*) in the bottom left-hand corner of my post to Add reputation.

  3. #3
    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: Conditional Quartile.INC function

    Not sure I understand the mission.

    Do these array formulae help?

    If you aren’t familiar with array-entered formulae array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.

    Row\Col
    A
    B
    C
    D
    E
    F
    G
    1
    Quartiles
    All
    Apples
    Oranges
    2
    Apple
    4
    Min
    1
    2
    1
    In D2: {=QUARTILE.INC($B$2:$B$8,ROWS($2:2)-1)}
    3
    Orange
    2
    25th
    2
    3
    1.25
    In E2: {=QUARTILE.INC(IF($A$2:$A$8="Apple",$B$2:$B$8),ROWS($2:2)-1)}
    4
    Apple
    8
    50th (median)
    3
    4
    1.5
    In F2: {=QUARTILE.INC(IF($A$2:$A$8="Orange",$B$2:$B$8),ROWS($2:2)-1)}
    5
    Orange
    1
    75th
    6
    8
    1.75
    6
    Apple
    2
    Max
    9
    9
    2
    7
    Apple
    9
    8
    Apple
    3
    Dave

  4. #4
    Registered User
    Join Date
    02-04-2016
    Location
    New Zealand
    MS-Off Ver
    MS Office 2013
    Posts
    2

    Re: Conditional Quartile.INC function

    Hi guys,

    Thanks for your welcome, GC Excel. Much appreciated
    It works now.
    It took a while since I had to understand the validation (SHIFT, CONTROL AND ENTER).

    Honestly, thanks guys!

+ 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. Replies: 1
    Last Post: 08-05-2013, 01:52 PM
  2. 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
  3. Excel 2007 : Quartile If
    By cloud36 in forum Excel General
    Replies: 3
    Last Post: 07-13-2012, 05:37 PM
  4. Replies: 3
    Last Post: 06-01-2012, 02:06 PM
  5. conditional formatting by quartile
    By casdaq in forum Excel General
    Replies: 3
    Last Post: 03-10-2010, 02:43 PM
  6. quartile pie chart
    By Barry Au in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-08-2007, 10:41 AM
  7. Quartile / Quintile Function
    By Greg in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-20-2005, 11:06 PM
  8. [SOLVED] Quartile Function
    By tika528 in forum Excel General
    Replies: 5
    Last Post: 03-16-2005, 09:25 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