+ Reply to Thread
Results 1 to 6 of 6

Define Top 20% out of remaining 70% of sales amount

  1. #1
    Registered User
    Join Date
    11-15-2019
    Location
    East
    MS-Off Ver
    2016
    Posts
    4

    Define Top 20% out of remaining 70% of sales amount

    Hello everyone,

    I am working for a project where I need to define some “Benchmark” users based on the sales amount.

    The way how to do it is:
    - Remove the top 10% count of users
    - Remove the bottom 20% count of users.
    - Out of the 70% remaining, I take the top 20% to define them as “Benchmark”.

    I am able to define the top 10%, bottom 20% in the same column but not the top 20% out of the 70% remaining.
    This is where I am struggling, I do not know how to define the range based on those 70% to use the percentile calculation used for the top 10%, bottom 20%

    Users|Sales Amount | Combine Top10% and bottom 20% | Expectation
    ___H____10000___________________out_________________out
    ___F_____9000___________________keep____________Benchmark
    ___D_____8000___________________keep_______________out
    ___I_____7000___________________keep_______________out
    ___A_____6000___________________keep_______________out
    ___J_____5000___________________keep_______________out
    ___C_____4000___________________keep_______________out
    ___G_____3000___________________keep_______________out
    ___B_____2000___________________out________________out
    ___E_____1000___________________out________________

    How to define the 20% based on the "7 lines" left ?`

    Please find as well an Excel file attached which shows the table above.

    Ps: unfortunately, I can't change the rules...

    Thank you a lot for the future help,
    Regards,

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Define Top 20% out of remaining 70% of sales amount

    Do you need the full table output, or are you just interested in returning the list of "Benchmark" users?
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Registered User
    Join Date
    11-15-2019
    Location
    East
    MS-Off Ver
    2016
    Posts
    4

    Re: Define Top 20% out of remaining 70% of sales amount

    Hi,
    If you can make it to return the "Sales amount" value, even better !

    Thank you

  4. #4
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Define Top 20% out of remaining 70% of sales amount

    This returns the benchmarks User(s) & Sales Amount(s), using Power Query:

    Please Login or Register  to view this content.
    Capture.PNG
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    11-15-2019
    Location
    East
    MS-Off Ver
    2016
    Posts
    4

    Re: Define Top 20% out of remaining 70% of sales amount

    Perfect, thank you a lot ! that works great

  6. #6
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Define Top 20% out of remaining 70% of sales amount

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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 calculate amount of debt remaining over time
    By Izzii0x in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-18-2018, 10:01 AM
  2. Set daily receivable Target with remaining amount in Excel
    By sadi in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-18-2015, 02:25 PM
  3. flexible update of remaining amount and end date based on current month
    By k1dr0ck in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-05-2015, 03:09 AM
  4. Replies: 0
    Last Post: 06-23-2011, 01:16 AM
  5. Replies: 14
    Last Post: 12-03-2009, 05:40 PM
  6. Replies: 7
    Last Post: 07-24-2008, 07:15 PM
  7. [SOLVED] How do I calculate Amount of Sales Tax from Total Amount?
    By MikeS in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-26-2005, 04:06 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