+ Reply to Thread
Results 1 to 6 of 6

Help with Match\Index error

  1. #1
    Registered User
    Join Date
    08-10-2017
    Location
    USA, Not otherwise relevant
    MS-Off Ver
    2003 SP3
    Posts
    25

    Question Help with Match\Index error

    Hello all,
    I am running into a problem and excel (O365 64bit) seems to not be able to grasp what I am asking of it. Likely a me issue, but its formula help thing keeps telling me to add an apostrophe at the beginning to make it text and not a formula.

    I am trying to do some data comparisons from reports, as the reports are generated by software that cant sort, nothing is in the same order but there are many duplicates, i have 1 report that is 467 rows and one that is 596, these are A and B respectively. I am trying to compare the two and show the differences, specifically the new data from the larger report. Here is what I used, but i am getting errors.
    =INDEX($A$1:$A$467,MATCH($B$1:$B$596,0))
    It says a value is not available for this formula to function, however I can compare them manually and find matches.

    I also tried highlighting both columns going to Find&Select - Go To Special - Row Differences (also tried Column Differences) it gave no error but no result, so I am at a bit of a roadblock. Anyone tell me what im doing wrong?

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,208

    Re: Help with Match\Index error

    this

    =INDEX($A$1:$A$467,MATCH(xxxx, $B$1:$B$596,0))

    where XXX is the range/Value to be matched
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,457

    Re: Help with Match\Index error

    Gut reaction is to use COUNTIF to determine if a value in one list is in the other and vice versa. You could add helper columns and/or use Conditional Formatting to highlight matches, or non-matches.

    Or, if you want a consolidated list and you don't care what the source is, maybe copy one list under the other and use Remove Duplicates.


    Fast answers need visual help. Please read the yellow banner at the top of this page on how to attach a file.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    08-10-2017
    Location
    USA, Not otherwise relevant
    MS-Off Ver
    2003 SP3
    Posts
    25

    Re: Help with Match\Index error

    Oh ok, so
    =INDEX($A$1:$A$467,MATCH($A$1:$A$467, $B$1:$B$596,0))
    does that look right then?
    And that basically says if any of the items in column a show up in column b mark them.

  5. #5
    Registered User
    Join Date
    08-10-2017
    Location
    USA, Not otherwise relevant
    MS-Off Ver
    2003 SP3
    Posts
    25

    Re: Help with Match\Index error

    Remove duplicates, that might be the quick and easy way.
    THANKS!

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,457

    Re: Help with Match\Index error

    The way that INDEX/MATCH works is that it looks for a Matching value and, if it finds one, returns the Indexed value for the matching row. So, it's not really good for what you are trying to achieve. AND, it will only return the first match, so subsequent duplicates could go unnoticed.

    If collating the lists and removing duplicates works for you, good. If not, post a sample file.

+ 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. Replies: 6
    Last Post: 05-24-2022, 04:05 AM
  2. [SOLVED] Index,Match,Match based on date Range - error in some cells
    By jmont in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-26-2019, 04:47 AM
  3. 2D Index match match & error trapping
    By Mikeyabosbht in forum Excel General
    Replies: 4
    Last Post: 08-02-2018, 03:46 PM
  4. unable to get match property error in userform derived index match
    By alexcrofut in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-05-2015, 09:21 PM
  5. [SOLVED] If error on index match
    By geliedee in forum Excel General
    Replies: 9
    Last Post: 04-10-2015, 10:29 AM
  6. Replies: 3
    Last Post: 05-02-2013, 01:31 AM
  7. [SOLVED] Index/Match #N/A error
    By tgbilbrey in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-19-2012, 10:04 AM

Tags for this Thread

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