+ Reply to Thread
Results 1 to 2 of 2

Can you find the quartile of an array based on a condition and using only visible cells??

  1. #1
    Registered User
    Join Date
    01-22-2015
    Location
    London, England
    MS-Off Ver
    Office 2007
    Posts
    2

    Can you find the quartile of an array based on a condition and using only visible cells??

    Hi,

    I am operating with a large data set and am looking to carry out descriptive statistics on this. I want to use the quartile function to get the 25%, 50% and 75% of one column of data, conditional on the row meeting criteria in another column of data. However, I want this to apply to only visible cells.

    Eg. In the table below I want to find the median of damages if reports = 1, but these cells are already filtered so to only include a certain injury type. Any ideas??? I know you can find the sum and the count using sumproduct and subtotal so is there an adaptation of this that can be used?

    A B C
    Injury Damages Reports
    1 Migraine £10 1
    5 Migraine £20 2
    9 Migraine £30 1
    11 Migraine £40 3
    12 Migraine £50 3
    13 Migraine £60 2

  2. #2
    Registered User
    Join Date
    01-22-2015
    Location
    London, England
    MS-Off Ver
    Office 2007
    Posts
    2

    Re: Can you find the quartile of an array based on a condition and using only visible cell

    Yes. Yes you can

    =QUARTILE(IF( SUBTOTAL(3, OFFSET('Raw Data'!$DY$5:$DY$65530, ROW('Raw Data'!$DY$5:$DY$65530)- ROW('Raw Data'!$DY$5),,1)), IF('Raw Data'!$DY$5:$DY$65530>=3, 'Raw Data'!$Q$5:$Q$65530)),2) + CTRL SHIFT ENT

+ 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] Array Formula to find an offset value based on a certain condition.
    By montehoskey in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-14-2014, 10:54 PM
  2. Non Array QUARTILE and STDEV IF Formula
    By Maxpower33 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-28-2013, 08:15 AM
  3. 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
  4. Replies: 3
    Last Post: 06-01-2012, 02:06 PM
  5. [SOLVED] Quartile/Average/Median In Array With Missing Data Points
    By splendidus in forum Excel General
    Replies: 10
    Last Post: 05-14-2012, 09:51 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