+ Reply to Thread
Results 1 to 12 of 12

Ranking with Name, Date and Time

  1. #1
    Registered User
    Join Date
    07-10-2019
    Location
    Malaysia
    MS-Off Ver
    2016
    Posts
    28

    Ranking with Name, Date and Time

    I have a list that consist of date time and name which i want to sort or rank them based on date, time and name.
    And the problem is there is some rank are the same rank but the name is different.

    For Example
    20/10/2019 | 9:00 PM | David rank 3
    20/10/2019 | 9:00 PM | Peter rank 3

    After i done my index match, my peter is not show due to index is only get the first rank 3, and it ignore the second one.
    Here is the code i did:

    Please Login or Register  to view this content.

    Thank you,
    Attached Files Attached Files
    Last edited by lkerwei; 10-22-2019 at 09:49 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,116

    Re: Ranking with Name, Date and Time

    What do you expect to see? Where do you expect to see it?
    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

  3. #3
    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,116

    Re: Ranking with Name, Date and Time

    Maybe, in F3:

    =AGGREGATE(15,6,($A$3:$A$17+$B$3:$B$17),ROWS($1:1))

    and in G3:

    =INDEX(C:C,AGGREGATE(15,6,ROW($C$3:$C$17)/($A$3:$A$17+$B$3:$B$17=F3),COUNTIF($F$3:F3,F3)))

    Rather confusingly Nelson occurs twice at the same date/time in your raw data!!!
    Attached Files Attached Files

  4. #4
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Ranking with Name, Date and Time

    Hi

    Try using in G3 and drag down the following formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    07-10-2019
    Location
    Malaysia
    MS-Off Ver
    2016
    Posts
    28

    Re: Ranking with Name, Date and Time

    Hi Glenn, Thank you. I'm very appreciate from your reply and advise from you. actually the data i'm trying to do is to get the data sorting. If there is same date, time and name it will combine become one for example the person name Nelson.

  6. #6
    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,116

    Re: Ranking with Name, Date and Time

    Try this, with a couple of helper colums:

    The hrelpers can be on another sheet, or hidden, or both if they annoy you!!
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    07-10-2019
    Location
    Malaysia
    MS-Off Ver
    2016
    Posts
    28

    Re: Ranking with Name, Date and Time

    Hi Glenn, this is the one i need, thank you very much, Glenn!
    Learn many new things from you.

  8. #8
    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,116

    Re: Ranking with Name, Date and Time

    You're welcome.



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

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

  9. #9
    Registered User
    Join Date
    07-10-2019
    Location
    Malaysia
    MS-Off Ver
    2016
    Posts
    28

    Re: Ranking with Name, Date and Time

    Hi Glenn, Due to the data that user insert is not known, the helper2 is not work as expected where the data is empty. For example i have around 200 rows which is not yet insert by user, and the match is 0.

  10. #10
    Registered User
    Join Date
    07-10-2019
    Location
    Malaysia
    MS-Off Ver
    2016
    Posts
    28

    Re: Ranking with Name, Date and Time

    Jose, Thank you for the solution, i have learn new thing from you.

  11. #11
    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,116

    Re: Ranking with Name, Date and Time

    Post a small sample showing the problem and your expected answer.

  12. #12
    Registered User
    Join Date
    07-10-2019
    Location
    Malaysia
    MS-Off Ver
    2016
    Posts
    28

    Re: Ranking with Name, Date and Time

    Hi Glenn, I have solved the issue by using your first solution with index match. Thank you very much.

+ 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 - restarts with each new region and time period
    By greentea in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-31-2018, 02:26 PM
  2. Replies: 9
    Last Post: 02-15-2015, 07:32 PM
  3. Replies: 3
    Last Post: 12-19-2013, 06:49 AM
  4. Testing/Ranking real time data
    By mallymcl in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-18-2013, 06:27 PM
  5. Team Ranking based on Race time
    By basizeland in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-12-2013, 11:51 PM
  6. Ranking from different sheets at the same time
    By tarek.abdulrazek in forum Excel General
    Replies: 0
    Last Post: 06-27-2012, 02:05 AM
  7. [SOLVED] Calculating days & time left from start date/time to end date/time
    By marie in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-07-2005, 10:40 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