+ Reply to Thread
Results 1 to 9 of 9

percentiles

  1. #1
    Registered User
    Join Date
    08-09-2011
    Location
    Bay Village, Ohio
    MS-Off Ver
    Excel 2010
    Posts
    55

    percentiles

    I need to calculate the time for which 90% of responses lie. The data is in two columns like this:
    Minutes Number of Instances
    1 5
    2 3
    3 1
    4 1

    For this example, 90% of the responses are 3 minutes or less.

    (Note that the number of minutes are single digits and the number of instances are single digits. I can't get the spacing quite right on the post)

    I don't think the percentile function will help me -- at least not as I'm trying to apply it.

    Note that I'm generating the base table from a pivot table of "times" and "counts of times". I could set up the pivot table differently if this would help solve my dilemma.

    Any ideas?

    Thanks much!
    Last edited by koochandkai; 06-28-2012 at 10:36 AM.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: percentiles

    Can you use Percentile on your original data (selecting all times)? That should work. Use ROUND or INT if you want a whole number returned.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    08-09-2011
    Location
    Bay Village, Ohio
    MS-Off Ver
    Excel 2010
    Posts
    55

    Re: percentiles

    That was a DUH moment! Sadly, I may never have thought of that. Thanks much.

  4. #4
    Registered User
    Join Date
    08-09-2011
    Location
    Bay Village, Ohio
    MS-Off Ver
    Excel 2010
    Posts
    55

    Re: percentiles

    I was all hyped up for this easy solution, until...... I need to filter the data and then figure the percentiles on the filtered data only -- and in fact. I have three fields I filter on with one of them having 75 options. The pivot tables gave me counts, but was also an easy way to deal with the filtering issue.

    Any other ideas?

  5. #5
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: percentiles

    Maybe you can give us some idea on how your data is laid out then. By filtering options, are you grouping times by certain criteria?

  6. #6
    Registered User
    Join Date
    08-09-2011
    Location
    Bay Village, Ohio
    MS-Off Ver
    Excel 2010
    Posts
    55

    Re: percentiles

    I'm not grouping times by certain criteria, but grouping based on other factors, and then determining the time statistic.
    For a given activity, I have, for example
    Identifier
    Type of activity
    When the activity started
    When the activity ended
    Who led the activity

    I need to answer the following:
    For all activities that started in the morning and were led by John, what's the 90%ile on how long they took
    For all activities that started in the morning and were led by Bob, what's the 90%ile on how long they took
    And what about the activities that started in the afternoon? -- what's the 90%ile for those that John led and what's the 90% for those that Bob led.

    That kind of stuff...

  7. #7
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: percentiles

    Post a workbook?
    Entia non sunt multiplicanda sine necessitate

  8. #8
    Registered User
    Join Date
    08-09-2011
    Location
    Bay Village, Ohio
    MS-Off Ver
    Excel 2010
    Posts
    55

    Re: percentiles

    Example worksheet is attached. I want to calculate the 90th percentile for the times in Columns H and I. I want to do this for each area. (There are actually about 75 areas). For each area, I want to do this in hours 0 to 6 and also in hours 12-18.

    Thanks.
    Attached Files Attached Files

  9. #9
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: percentiles

    Your example contains one line for each of 10 areas and the same time value for each. Not much use as an example.

+ 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