+ Reply to Thread
Results 1 to 13 of 13

Weighted Percentile

  1. #1
    Registered User
    Join Date
    07-29-2019
    Location
    Los Angeles. Ca
    MS-Off Ver
    2013
    Posts
    38

    Smile Weighted Percentile

    Hi All - I have a similar question. I have data with similar questions. The data set is a sample of set, Origin, Destination, Number of Units, Conveyance mode rail or truck, transit days. I am looking for a weighted average and ranked by 90% percentile? How do I best sort to get the weighted average and 90 percentile for each lane based on transit days? There are some negative values that will eventually be corrected. I have tried to upload a file but file upload states failed? Thank you everyone for the help!

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Weighted Percentile

    Please upload a workbook or a representative cut down copy, anonymised if necessary. It is always easier to advise if we can see your request in its context.

    Show a before and after situation with manually calculated results, explaining which information is data and which is results, and if it's not blindingly obvious how you have arrived at your results some explanatory notes as well.

    To upload a file click the Go Advanced button at the foot of your post, look underneath the post area for the Manage Attachments section and take it from there.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    07-29-2019
    Location
    Los Angeles. Ca
    MS-Off Ver
    2013
    Posts
    38

    Re: Weighted Percentile

    Hi Richard! Thank you! I just tried to upload the file - let me try earlier excel version ....

  4. #4
    Registered User
    Join Date
    07-29-2019
    Location
    Los Angeles. Ca
    MS-Off Ver
    2013
    Posts
    38

    Re: Weighted Percentile

    Hi Richard -- Each conveyance node, example arrival at vessel to container discharge each takes a certain amount of days. I need to know weighted average by origin, destination, truck or rail, volume and the 90th percentile of transit days.
    Thank you!

  5. #5
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Weighted Percentile

    Would you add some manually calculated results and explain how you derived them please.

    Remember you are 100% au fait with your terminology, it's second nature to you and you probably spend a lot of your waking days dealing with it.
    We come to this with zero knowledge so our first task is to understand your terminology and where these things you describe are located on the sheet.

    Then we need to understand and see how you want the data manipulated to provide your weighted average results. We need that so that we can be sure a suggested solution does in fact give you what you expect.

  6. #6
    Registered User
    Join Date
    07-29-2019
    Location
    Los Angeles. Ca
    MS-Off Ver
    2013
    Posts
    38

    Re: Weighted Percentile

    Hi Richard..totally understand and I am very appreciative! Give me a few minutes and I will attach. Thank you so much for your help!

  7. #7
    Registered User
    Join Date
    07-29-2019
    Location
    Los Angeles. Ca
    MS-Off Ver
    2013
    Posts
    38

    Re: Weighted Percentile

    Hi Richard - Hope that the attached is more helpful - DATA 2 tab. The conveyance headers in red are the days in-between movement that we are trying to measure. Each measure needs to be weighed by container volume by Port of Discharge (POD), column "H" and Final Destination, column "I", then we have to determine how many days by volume make up the 90th percentile. Thank you!

  8. #8
    Registered User
    Join Date
    07-29-2019
    Location
    Los Angeles. Ca
    MS-Off Ver
    2013
    Posts
    38

    Re: Weighted Percentile

    Good morning Richard and Excel help Team - Any luck with the attached! Thank you everyone for your contributions!!

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,102

    Re: Weighted Percentile

    That is a truly awful sample. Totally incomprehensible. I don't have the patience to try to figure out what you want from that splurge of cells. What do you expect to see? Where do you expect to see it? Cut it back to the bare essentials (delete all those irrelevant rows/sheets) and explain WHAT your expected result is (calculated manually)...
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,268

    Re: Weighted Percentile

    The issue of the cells that don't populate is being addressed in the other thread here: https://www.excelforum.com/excel-gen...o-another.html

    I have removed your post that refers to that issue - please don't post about it here.

    The only issue that should be addressed in THIS thread is the weighting question.

    If things start to get muddled, I shall be obliged to close one of the threads, so please don't muddy the waters.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  11. #11
    Registered User
    Join Date
    07-29-2019
    Location
    Los Angeles. Ca
    MS-Off Ver
    2013
    Posts
    38

    Re: Weighted Percentile

    Hi AliGW - Thank you.

  12. #12
    Registered User
    Join Date
    07-29-2019
    Location
    Los Angeles. Ca
    MS-Off Ver
    2013
    Posts
    38

    Re: Weighted Percentile

    Question - it is taking a lot of time to delete rows..can I delete 20,000 at a time quicker?

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

    Re: Weighted Percentile

    There are 59 rows and 69 columns of data on the Data 2 sheet.
    Instead of deleting it would seem like it would be quicker to hide the rows/columns that are not needed to illustrate the issue and then do as Richard stated: show the manually calculated results of the sample data and explain how those calculations are made.
    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. [SOLVED] Weighted Percentile Calculation Help
    By g3diamondback in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 06-08-2023, 01:47 PM
  2. weighted percentile
    By cynthiarb in forum Excel Formulas & Functions
    Replies: 35
    Last Post: 12-27-2019, 04:54 AM
  3. 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
  4. Replies: 0
    Last Post: 02-15-2018, 03:04 AM
  5. Custom Function for Weighted Percentile
    By Agferna in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-07-2014, 02:54 PM
  6. [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
  7. [SOLVED] PERCENTILE.INC and PERCENTILE.EXC - difference
    By Saturn in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-19-2012, 11:34 AM

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