+ Reply to Thread
Results 1 to 16 of 16

Rank making for students

  1. #1
    Registered User
    Join Date
    07-10-2012
    Location
    INDIA
    MS-Off Ver
    Excel 2010
    Posts
    6

    Rank making for students

    Rank making formula for students :-
    there are ten sudents roll from 1 to 10. I want to make their ranks according to "marks obtained" with considering the "d-value".
    First the rank will be done for those sudents having "d-value" 0 (zero) and according to "marks obtained" from highest marks to lowest.
    Next the rank will be done for those sudents having "d-value" 1 (one) and according to "marks obtained" from highest marks to lowest.
    Next the rank will be done for those sudents having "d-value" 2 (two) and according to "marks obtained" from highest marks to lowest.
    Next the rank will be done for those sudents having "d-value" 3 (three) and according to "marks obtained" from highest marks to lowest and so on.

    If there any tie (duplicate) in any case e.g having "d-value" 0, 1, 2 or 3 the rank will be done according to roll i.e whose roll is minimum will be in lower rank.

    Roll name of the students marks obtained d-value rank as
    1 sri prosenjit sarkar 618 0 1
    3 sri bapi mondal 316 0 5
    5 miss tania khatun 400 0 3
    7 miss kabita bain 238 1 7
    9 sri chiranjit mondal 183 1 8
    2 miss sonali biswas 316 0 4
    4 sri chetan lala 185 2 9
    6 miss rupa roy 415 0 2
    8 miss sana biswas 310 0 6
    10 sri rabi hasan 285 3 10

    please provide the necessary formula for rank making as shown here. The formula will reside in rank cells.
    Thanks in adance. Kindly help.
    Attached Files Attached Files

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Rank making for students

    See if this workbook helps

    The weighted marks and ranking columns are hidden with the Grouping button.
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Rank making for students

    this should do it
    better version further down
    Last edited by martindwilson; 07-11-2012 at 06:22 AM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Registered User
    Join Date
    07-10-2012
    Location
    INDIA
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Rank making for students

    MANY MANY THANKS Marcol & martindwilson.
    I AM GRATFUL TO BOTH OF YOU.
    I HAVE TRIED THE Marcol'S FORMULA IN MY EXCEL SHEET. IT'S FINE.
    BUT THERE ARE FEW PROBLEMS ARISES. SOME STUDENTS HAVING D-VALUE 1 (ONE), GOT RANK BEFORE THE STUDENTS HAVING D-VALUE 0 (ZERO).
    SIMILARLY SOME STUDENTS HAVING D-VALUE 2 (TWO), GOT RANK BEFORE THE STUDENTS HAVING D-VALUE 1 (ONE).
    I HAVE MARKED THOSE STUDENTS & THEIR POSITION, NAME, D-VALUE ETC IN RED COLOUR.
    PLEASE HELP.
    THANK YOU.
    Attached Files Attached Files

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Rank making for students

    does mine work?

  6. #6
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Rank making for students

    Haven't tried yours Martin!

    SKM189
    Try this workbook
    Attached Files Attached Files
    Last edited by Marcol; 07-10-2012 at 03:15 PM.

  7. #7
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Rank making for students

    just want some feed back!to see where its gone wrong

  8. #8
    Registered User
    Join Date
    07-10-2012
    Location
    INDIA
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Rank making for students

    THANKS A LOT Marcol.
    YOUR WORKBOOK WORK NICE BUT STILL THERE ARE SOME ERRORS REMAIN.
    THERE ARE SOME STUDENTS GOT LOWER RANK HAVING HIGHER MARKS FOR A PARTICULAR D-VALUE.

    41 033 SRI. DIBAKAR GHOSH. 269 0
    42 045 SRI. ABHIJIT NASKAR. 270 0
    43 029 MISS. RANJANA MONDAL. 256 0
    44 058 SRI. SARAJIT PRAMANIK 257 0


    69 038 SRI. SOURAV SARKAR. 236 1
    70 065 MISS. KABITA BAIN. 238 1

    I HAVE MENTIONED THOSE ERRORS IN RED COLOR IN THE WORKBOOK.
    PLEASE HELP.
    THANK YOU AGAIN.
    Attached Files Attached Files

  9. #9
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Rank making for students

    So this problem looks too easy.

    Why don't you simply sort Ascending by column A, then Descending by Column C, then Ascending by Column D?

    No Rank, no sweat!

    You could make it harder by doing a multi-level sort and get the same answer as above.
    see http://www.contextures.com/xlSort01.html
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  10. #10
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Rank making for students

    @ Marvin, There are Students in the list with 0 marks, presumably they haven't yet been tested.
    They need to go to the end of the list, this would possibly need a helper to allow you to sort using Data > Sort ...

    @ SKM189
    I didn't allow for enough students on the roll
    In E2 change this ...
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    to
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  11. #11
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Rank making for students

    ok second go look at this sheet with marcols and mine on it
    Attached Files Attached Files

  12. #12
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Rank making for students

    @ Martin
    If you update your attachment in post #11 with my correction in post #10, then the results will match.

  13. #13
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Rank making for students

    i just wish ops would respond to all offered solutions

  14. #14
    Registered User
    Join Date
    07-10-2012
    Location
    INDIA
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Rank making for students

    WONDERFUL.
    HATS OF YOU Marcol. IT WORKS.
    THANK YOU VERY MUCH.

    NOW I HAVE TWO MORE QUERIES.
    HOW TO ADD AUTO TAB FUNCTION HERE ? WHEN I GIVE THREE DIGIT NUMBER IN "MARKS OBTAINED" CELL THE CURSOR AUTOMATCALLY MOVE TO THE ADJACENT "D-GRADE" CELL (RIGHT TO "MARKS OBTAINED" CELL) & THEN WHEN I GIVE ONE DIGIT NUMBER IN "D-GRADE" CELL THE CURSOR AUTOMATCALLY MOVE TO THE NEXT BELOW "MARKS OBTAINED" CELL.
    AND SO ON.

    SECONDLY, WHEN I PUT 0 (ZERO) IN "MARKS OBTAINED" CELL THE CORRESPONDING 'NAME OF THE STUDENT' & IT'S ROLL GET RED COLOR (TEXT).
    THANKS IN ADVANCE.

  15. #15
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Rank making for students

    Martins' solution also works, how about a thanks, or at least an acknowledgment, to him as well?

    Enter your 3digit number then press the Right Arrow key.
    Enter your D-number press the Enter key then the Left Arrow key.

    If that isn't what you want to do you will need VBa and that will be more trouble than it's worth.

    The conditional formatting in the sheet I provided already colours the text you ask for.

    Cheers

    P.S.
    Please turn off your Caps Lock when posting your queries, uppercase text is seen as demanding by us case-sensitive western types.

  16. #16
    Registered User
    Join Date
    07-10-2012
    Location
    INDIA
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Rank making for students

    Thanks a Lot martindwilson Too.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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