+ Reply to Thread
Results 1 to 4 of 4

Index Match, repeated numbers

  1. #1
    Registered User
    Join Date
    11-10-2008
    Location
    New York
    Posts
    4

    Index Match, repeated numbers

    I have the following code below and wanted to know how I can fix it.

    In
    Please Login or Register  to view this content.
    are "rankings" and so there are some information in
    Please Login or Register  to view this content.
    is equally ranked, namely 172 onwards

    When I perform an index/ match below, with the rankings numbers in Sheet 2, the repeated ranks do not populate. All I am getting is the first ranking result for the rank of 172, repeated until 186.

    Does anyone have any suggestions on how I can improve/ correct this error?
    ------

    Please Login or Register  to view this content.


    Thanks

    Tony
    Last edited by VBA Noob; 11-11-2008 at 05:09 PM. Reason: Added code tags as per forum rules

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    There are various posts on this site that give solutions on how to make repeated rankings unique. If you can get the common rankings solved, would that solve your problem?

    If not, then one thing you could do is a count of the ranking. If it comes back with > 1, then you would have to find all the items and output them as required. It would be a lot easier for us to provide a solution if we could see an example of how your data is structured, so if the first options isn't suitable, then attach an example file for us to review.


    rylo

  3. #3
    Registered User
    Join Date
    11-10-2008
    Location
    New York
    Posts
    4
    Hi Rylo,

    Here is the file for you to review. As you can see the last few ranks are the same but it returns only the first match. If you could help me with this that would be great.

    Cheers mate,

    Tony
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Tony

    Using your example workbook.
    sheet2!AB146:
    Please Login or Register  to view this content.
    This formula is array entered - hold down the ctrl and shift keys, then press enter.

    Copy the formula down to AB155.

    rylo

+ 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