+ Reply to Thread
Results 1 to 4 of 4

Calculate weighted percentile

  1. #1
    Registered User
    Join Date
    03-25-2021
    Location
    Norway
    MS-Off Ver
    16
    Posts
    2

    Calculate weighted percentile

    Hi,

    i have data for the production and production cost for several industrial plants. In column A is the names of the plant, column B how much the plant produces and column C the cost of production per ton in $US.

    Now i want to find the production weighted cost position of one particular company compared to the others as a percentile. I know how to do it in complicated (Calculate the weighted percentile for every plant and then look at the company weighted average cost and look where it is closest). But is there maybe an easier way without having to first calculate the weighted percentile for all plants? The end result should be "Company B lays at the 53th percentile of the cost curve".
    Attached Files Attached Files
    Last edited by BWV10; 03-25-2021 at 08:54 AM.

  2. #2
    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,064

    Re: Calculate weighted percentile

    You can not post links (yet), but you can post a sample Excel sheet from Day1. Re-read the yellow banner (top) and carefully follow the instructions.
    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.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    03-25-2021
    Location
    Norway
    MS-Off Ver
    16
    Posts
    2

    Re: Calculate weighted percentile

    Thanks, i attached the data now

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

    Re: Calculate weighted percentile

    Hello BWV10 and Welcome to Excel Forum.
    Not sure how company B would be at the 53rd percentile, however to get the values per company in H4:H7 try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Note that your regional settings, for Norway, may dictate that semicolons are substituted for commas in the above formula: =SUMPRODUCT((A$3:A$12=G4)*(C$3:C$12)*(D$3:D$12))/SUMIFS(C$3:C$12;A$3:A$12;G4)
    Let us know if you have any questions.
    Attached Files Attached Files
    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. Weighted Percentile
    By Kimber154 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 08-06-2019, 12:08 AM
  4. [SOLVED] Calculate 10th percentile of a range
    By billj in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-03-2016, 10:19 PM
  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. Excel 2007 : How to auto calculate a percentile
    By stevetothink in forum Excel General
    Replies: 5
    Last Post: 01-18-2012, 01:48 PM
  7. Macro to calculate what percentile a value is in
    By Toneranger in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-16-2011, 03:20 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