+ Reply to Thread
Results 1 to 19 of 19

Ranking using multiple criterion

  1. #1
    Registered User
    Join Date
    01-17-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    22

    Ranking using multiple criterion

    Hi All,

    I have a sales data which has a team manager , team managers will have no.of sales rep. the reps will sell different products ma,hv,hg, others (Revenue)

    conditions:

    product ma is given more importance, hence those team managers who have reps selling more Ma should be ranked1st but the same team manager can also have reps selling hv,hg &others in that case those reps should also come as they report to the same manager but ranked below the reps who sell more me.

    hence all the team managers who have reps selling ME is ranked & your left with team manager who have the remaining 3 products alone in that case ranks is 2nd hv 3rd hg & last others

    there will be team mangers who do not have reps containing hv nor hv nor me but only other then others should be so ranked highest


    ranking: 1st because he has 4 me contributing to the revenue

    team mangerA , rep1 ,rank1 me,
    team mangerA , rep2 ,rank1 me,
    team mangerA , rep2 ,rank1 me,
    team mangerA , rep2 ,rank1 me,
    team mangerA , rep3 ,rank2 hv,
    team mangerA , rep1 ,rank4 others

    Followed by 2 nd because he has 2 me contributing to the revenue

    team mangerb , rep1 ,rank1 me,
    team mangerb , rep2 ,rank1 me,
    team mangerb , rep3 ,rank2 hv,
    team mangerb , rep1 ,rank4 others

    Followed by 3 nd because he has 2 hv contributing to the revenue


    team mangerc , rep1 ,rank1 hv,
    team mangerc , rep2 ,rank1 hv,
    team mangerc , rep3 ,rank2 others

    Followed by 4th because he has 1 hv contributing to the revenue


    team manger D , rep1 ,rank1 hv,
    team manger D, rep2 ,rank2 others

    Followed by 5th because he has 3other contributing to the revenue


    team manger d , rep1 ,rank1 others,
    team manger d , rep2 ,rank2 others,
    team manger d , rep3 ,rank3 others


    Attached is sample data kindly help me with this multiple ranking

    Regards
    Gamefreak
    Followed by 6th because he has 2other contributing to the revenue


    team manger e , rep1 ,rank1 others,
    team manger e , rep2 ,rank2 others,
    Attached Files Attached Files

  2. #2
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Ranking using multiple criterion

    This might be of help to you. It uses a few helper columns to determine team "value" and then ranks team members and the teams.
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  3. #3
    Registered User
    Join Date
    01-17-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Ranking using multiple criterion

    Hi Newdoverman,

    Thank you much for that wonderful formula, I would certainly get back to you incase there any further help as I have to check the same with another data in my office, fingers crossed.

    Regards
    Gamefreak

  4. #4
    Registered User
    Join Date
    01-17-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Ranking using multiple criterion

    Hi Newdoverman,

    your output is based on the total revenue of the team but my requisite is different its not based on total revenue but on team leader who's reps sell more MA product ,but the others reps who are reporting to the same team manager should also be with in the same team leader as they are one team.

    2) when the ME products are exhausted them team manages who has other product like HG should be ranked,but the others reps who are reporting to the same team manager should also be with in the same team leader as they are one team along with their products which they have sold it can be hv, hg & others.

    3) when the HV products are exhausted them team manages who has other product like HG should be ranked, but the others reps who are reporting to the same team manager should also be with in the same team leader as they are one team along with their products which they have sold it can be others.

    3) when the HG products are exhausted them team manages who has other product like others should be ranked.

    hence the logical sequence is :
    1 ME 2)HG 3HV 4) others. Products is this sales data is based on revenue ( column G in this spresdsheet)


    Kindly help me,

    Regards
    Gamefreak

  5. #5
    Registered User
    Join Date
    01-17-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Ranking using multiple criterion

    Hi All,

    I have a sales data which have no. of team mangers ,no of reps reporting to them & the a no of products these reps would be selling. Among the products they sell MA product is important hence the team manager who has a rep who generated more revenue by selling MA product should be ranked first even though the total sales is less. The team mangers whole team along with the other reps should be pasted as such even though the other members would have sold other product but the product sequence is as follows 1 ME 2)HG 3HV 4) others.
    There may be conditions in which the team managers would not have reps who do not sell ME then the they should appear only after the all the team manger who have ME products.
    Hence ,
    Teamleader with reps with most me first ,(along with rest of the reps who sell other products ranked in this manner 1 ME 2)HG 3HV 4) others.)
    Then Tem leaders with 2)HG first ,(along with rest of the reps who sell other products ranked in this manner 3HV 4) others.)
    Then Tem leaders with 3)HV first ,(along with rest of the reps who sell other products ranked in this manner 4) others.)
    Finally
    Then Tem leaders with others ranked by higher revenue ,(along with rest of the reps who sell other products ranked in this manner 3HV 4) others.)
    1 ME 2)HG 3HV 4) others. Products is this sales data is based on revenue ( column G in this spreadsheet)

    Regards
    Gamefreak

  6. #6
    Registered User
    Join Date
    01-17-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Ranking using multiple criterion

    Hi ,

    Any one with the solution kindly upload your Spread sheet pls.

    Regards
    Gamefreak

  7. #7
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Ranking using multiple criterion

    This ranking took several steps. First the rankings with only MA then rankings with HV etc

  8. #8
    Registered User
    Join Date
    01-17-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Ranking using multiple criterion

    Hi Newdoverman,

    Currently the calculation is based on count. of ME/hv/hg/ others but the ME is based on the largest value of sales which is in the coloum D

    Thank you so Much ..... its almost correct but I need ME is directly proportional to the sales column T in your spead sheet so is there away to rank them based on the revenue contribution made by Me,Hv,HG & others rather than by the counts of no of ME???

    Thank & Regards

    Gamefreak

  9. #9
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Ranking using multiple criterion

    Here is the worksheet using the total sales of each team for each item ranked according to value. This is about all that I can do for you.

  10. #10
    Registered User
    Join Date
    01-17-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Ranking using multiple criterion

    Hi Newdoverman,

    Thank you so much this is the required output as its driven by sales value in the column. I need to learn much , was amazed by your excel skills.

    Regards
    Gamefreak

  11. #11
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Ranking using multiple criterion

    Thank you for the kind words. I'm glad that this works for you.

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

  12. #12
    Registered User
    Join Date
    01-17-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Ranking using multiple criterion

    Hi newdoverman,

    I am really sorry to bother you again but I replicated the same Methodology to another file the raking is Haphazard. the ranking should be based on the coloum W in the spreadsheet attached. Is it possible for you to help me with this ?

    Regards
    Gamefreak
    Attached Files Attached Files

  13. #13
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Ranking using multiple criterion

    As far as I can tell, this works but there are so many identical scores, it will take a long time to check out. The ranking values jump and this is due to many ties at the same score.
    Attached Files Attached Files

  14. #14
    Registered User
    Join Date
    01-17-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Ranking using multiple criterion

    Hi newdoverman,

    Thank you for you reply , I have put a pivot so that it shows me a subtotal of the ME which helps me identify the Largest ME value , whe i compare them again the ranking with pivot the Rank one becomes rank 2, could you have a look ,is it bcos your calulation take in to account No. of Clients * no of counts , If you calculation can take in to account Column W where you can get the % actual sale value of ME it would work fine. Can you pls help me with this Query ?

    Regards
    GameFreak
    Attached Files Attached Files

  15. #15
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Ranking using multiple criterion

    There is something wrong here. I don't see a column W with % on the No Duplicates.xlsx file or the ch RM.xlsx file. There are a couple of columns in the file that I uploaded to you that have % but I don't know which one you want. Columns AB and AD have % but which one do you want and how do you want it applied to the values? Do you want to take a % of the ME value for example or do you want a % added to the ME?

    I'm sure that it isn't difficult but I just don't know what to do.

    If you can refer back to the last file that I uploaded in message 13, that would be a great assist.

  16. #16
    Registered User
    Join Date
    01-17-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Ranking using multiple criterion

    Hi newdoverman,

    The Column E describes the category of product like ME , others, hgsb...

    The Column W is the corresponding Sale / revenue from the product , hence column captioned YTD Income needs to be used for ranking not the % values .

    can you use these two column & get me the ranking

    All the columns are as per your latest file posted by you (msg 13 File)

    Regards
    Gamefreak
    Last edited by gamefreak; 12-04-2014 at 01:37 PM.

  17. #17
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Ranking using multiple criterion

    I had to think about this just to get the "old thoughts" out of my mind. This version is based on the TEAM LEADER, the SUB. SEG, and YTD (COLUMN W). I found that I had made an error that got compounded which came to light when creating the formula in column V. The addition of a section from 3 to 4 made me think a bit because when I looked at the formula, I just instinctively knew that it was not correct. I then created it from scratch and it seems to be better (I hope correct).
    Attached Files Attached Files

  18. #18
    Registered User
    Join Date
    01-17-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Ranking using multiple criterion

    Hi Newdoverman,

    Thank you so much for your help! It really did work this time!

    Regards
    Gamefreak

  19. #19
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Ranking using multiple criterion

    Thank you for the feedback.

+ 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. Ranking without zero & ranking on multiple factors
    By Navin Agrawal in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-13-2014, 06:05 AM
  2. Find value based on item number (first criterion) and date (second criterion)
    By ivan.stajin in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-19-2014, 10:47 AM
  3. Count if for multiple criterion
    By micheleliusb in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-07-2014, 11:28 AM
  4. Formula with multiple criterion
    By bastage in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-30-2011, 01:02 PM
  5. [SOLVED] How to Sum on Multiple Criterion
    By Don R in forum Excel General
    Replies: 5
    Last Post: 04-10-2005, 11: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