+ Reply to Thread
Results 1 to 8 of 8

Percentile by unique location

  1. #1
    Forum Contributor
    Join Date
    11-26-2010
    Location
    usa
    MS-Off Ver
    Office 365
    Posts
    1,224

    Percentile by unique location

    all

    I have list of values in column O. in column I, location are listed.

    in cell P14 down, i would like a formula that would bucket the values based on "25th, 75th and 90th" percentile (values in cell P10:P12) ...exclude 0s

    For for example, in cell P14, it should say "25th" as that's the percentile but has to be unique to the location, listed in column I.

    column I has tons of different cities, so is it possible for the formula to automatically adjust if the city changes? example, in cell P43, the location becomes australia, so i would like the percentile bucket to be unique to australia?

    i have attached workbook...can someone pls assist? thxs
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    11-26-2010
    Location
    usa
    MS-Off Ver
    Office 365
    Posts
    1,224

    Re: Percentile by unique location

    any thoughts on this guys?

  3. #3
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: Percentile by unique location

    by replying to your own post I suspect a few will have missed this (as often search for unanswered)

    not sure I understand the requirement but, in an effort to get it moving, is below along the right lines?

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    I believe PERCENTRANK is compatible with both 2003 & 2007.

  4. #4
    Forum Contributor
    Join Date
    11-26-2010
    Location
    usa
    MS-Off Ver
    Office 365
    Posts
    1,224

    Re: Percentile by unique location

    Hi there

    this works great ....just wondering if an edit can be made?

    The above formula aggregates the data into those percentile buckets (25th, 75th and 90th) based on where the number lands in the specific location.

    Is it possible to have the percentile for the formula to do the following (excluding 0s and blanks):
    ie. 100 people in an office, you would apply the 25th percentile number to the bottom 33 people; the median (50% percentile) number to the middle 33 people and the 75th percentile number to the top 34 people? - can this formula be unique by location?

    thxs so much
    Last edited by jw01; 05-14-2020 at 01:09 AM.

  5. #5
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: Percentile by unique location

    please provide an updated sample (per post #1) illustrating expected results for a number of, (not all), locations.

    the answer will be "yes" - but I'd prefer to not guess as to what your results should look like
    i.e. are you applying the respective percentile value to a 1/3 of population relative to their rank, or simply tagging them?

  6. #6
    Forum Contributor
    Join Date
    11-26-2010
    Location
    usa
    MS-Off Ver
    Office 365
    Posts
    1,224

    Re: Percentile by unique location

    Hey there

    Pls see attache file

    as you can see in column Q, i have added what i think should be the entry "25th, 50th and 90th". blanks and 0s should be "", however all other values should be "25th, 50th and 90th". I only showed this for Amsterdam.

    Basically, if a location has 100 ppl, bottom 1/3 will get 25th percentile, middle 1/3 will get 50th and top 1/3 will get 90th.

    is that doable? thx so much!
    Attached Files Attached Files
    Last edited by AliGW; 05-14-2020 at 12:55 PM. Reason: Please don't quote unnecessarily!

  7. #7
    Forum Contributor
    Join Date
    11-26-2010
    Location
    usa
    MS-Off Ver
    Office 365
    Posts
    1,224

    Re: Percentile by unique location

    Quote Originally Posted by XLent View Post
    please provide an updated sample (per post #1) illustrating expected results for a number of, (not all), locations.

    the answer will be "yes" - but I'd prefer to not guess as to what your results should look like
    i.e. are you applying the respective percentile value to a 1/3 of population relative to their rank, or simply tagging them?
    Yes, i would agree would your statement:
    i.e. are you applying the respective percentile value to a 1/3 of population relative to their rank

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

    Re: Percentile by unique location

    Perhaps the following modification to XLent's formula will do what you want:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us 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.

+ 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. How to Determine Values of Percentile and Percentile Rank
    By rbellotti in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-30-2019, 09:57 AM
  2. VB Code to find unique with criteria and paste at certain location
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-17-2016, 10:12 PM
  3. Unique ID using Date,Name, Location, and a counter
    By WheresMyStapler in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-28-2014, 03:20 PM
  4. [SOLVED] Conditional percentile: Bug in percentíle function?
    By Duronka in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-13-2013, 08:08 AM
  5. Unique values for each date and location
    By pat_johnson in forum Excel General
    Replies: 4
    Last Post: 11-17-2011, 02:49 AM
  6. Identifying Unique Location in Table from criteria?
    By DAVID1972 in forum Excel General
    Replies: 2
    Last Post: 05-06-2008, 02:36 PM
  7. Help, inconsistent results on Filter -> Unique, to new location.
    By jay in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-21-2006, 05:10 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