+ Reply to Thread
Results 1 to 5 of 5

Grouping and Ranking within Groups

  1. #1
    Forum Contributor
    Join Date
    04-11-2008
    Posts
    156

    Grouping and Ranking within Groups

    Hi

    In Column C, is it possible to rank DOBs in Column B, grouped by the IDs in Column A?

    Column A Column B Column C
    1234 01/08/44 ???
    1234 01/08/32
    1234 01/08/66
    2363 01/08/78
    2363 01/08/81
    2363 01/08/56
    9264 01/08/51
    9264 01/08/68
    9264 01/08/48

    Thank you

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Grouping and Ranking within Groups

    If the data is sorted by Col A as implied then

    Please Login or Register  to view this content.
    in the above I used order of 1 such that earliest date is ranked 1... revise as nec.

  3. #3
    Forum Contributor
    Join Date
    04-11-2008
    Posts
    156

    Re: Grouping and Ranking within Groups

    Thanks very much.

    I'm sorry, but I now realise that I need a reverse ranking i.e. I need the youngest BOB to be assigned a 1 - this is so that I can delete all rows with a number >1 and therefore retain the youngest person.

    Thanks

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Grouping and Ranking within Groups

    Quote Originally Posted by penfold
    retain the youngest person
    ...that's ageism (!) but simply change the final instance of 1 in the formula to 0.

    For more info. on RANK see XL Help.

  5. #5
    Forum Contributor
    Join Date
    04-11-2008
    Posts
    156

    Re: Grouping and Ranking within Groups

    Perfect, thank you

+ 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