+ Reply to Thread
Results 1 to 6 of 6

Index match to skip duplicates

  1. #1
    Registered User
    Join Date
    07-21-2011
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    20

    Index match to skip duplicates

    I appears my index match is rendering duplicates.

    How I can get the index match to skip any duplicates?


    Please Login or Register  to view this content.

  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,063

    Re: Index match to skip duplicates

    Will you please attach a sample Excel workbook? Please don't attach a picture of one.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential information is removed first!!

    4. Try to avoid using merged cells. They cause lots of problems!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    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.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    07-21-2011
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: Index match to skip duplicates

    Hello Glen..
    I have uploaded example sheet.

    As you can see from the screen shot below, the cells in yellow are incorrect as should be following the sequence of column A on "cheapest" sheet.

    Any help would be much appreciated...FYG, I have tried researching online and people talk about using a countif or small/large function but cannot tie this into the formula.

    thanks

    [image]http://s16.postimg.org/jxg48civ9/indexmatchincorrect.png[/image]
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by projectile; 09-26-2016 at 02:56 PM.

  4. #4
    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,063

    Re: Index match to skip duplicates

    To be honest, I'm not sure what you're trying to achieve with this formula. can you explain? certainly, you can get the result that you want, by making each price unique by adding a trivially small amount to each one (Datasheet column AJ). Then, a simple INDEX-MATCH returns the "correct" result. However, I'm not sure what you are trying to achieve, that =A2 in "Cheapest E2" does not also achieve. Maybe I'm missing the point by a mile...
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    07-21-2011
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: Index match to skip duplicates

    The "DATASET" sheet contains a list of Lane IDs that different suppliers have quoted on.

    column AH of the DATASET sheet contains the name of the supplier and AI contains their Quote for the each LANE ID.

    I want to return the cheap price for each lane-id, and the name of the corresponding supplier.

    I can return the correct price (column B of CHEAPEST sheet) , however the supplier is incorrect.

    I have modified the original formula to render the results of column A of Dataset sheet, for the purpose of this thread, so the example is clear cut. The original formula returns would normally column AH ...

    i.e.


    =IF(T2=0,"",INDEX(DATASET!$AH$2:$AH$1455,MATCH(MIN((IF(DATASET!$A$2:$A$1455=A2,IF(DATASET!$AI$2:$AI$1455<>0,DATASET!$AI$2:$AI$1455)))),DATASET!$AI$2:$AI$1455,0)))



    hope this makes sense.

  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,063

    Re: Index match to skip duplicates

    I'm away from my PC, Excel, etc. Csn you explain how the formula I provided does not work.

+ 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. Index Match Skip Blank rows
    By choth21 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-10-2016, 01:19 AM
  2. [SOLVED] Index Match with Duplicates?
    By larchfield in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-27-2016, 11:58 AM
  3. Getting my index range to ignore/skip duplicates :(
    By excelmms in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-20-2015, 04:15 PM
  4. index match, ..... skip result if blank value ...... jump to next match
    By gehawk in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-08-2013, 04:42 AM
  5. [SOLVED] Excel 2007 : index and match with duplicates
    By Bprime in forum Excel General
    Replies: 8
    Last Post: 07-02-2012, 04:42 PM
  6. Replies: 2
    Last Post: 03-16-2012, 12:03 PM
  7. Index Match Duplicates
    By Richww2 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-26-2011, 10:54 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