+ Reply to Thread
Results 1 to 4 of 4

Match Index Doesn't Work

  1. #1
    Registered User
    Join Date
    02-27-2017
    Location
    illinois
    MS-Off Ver
    2010
    Posts
    7

    Match Index Doesn't Work

    Hi I have a sheet and I need to do a lookup. Colum E should look for Column D value in Column A and B and it should give me the date in Column E. I tried match index but it doesn't work. PLEASE help
    Attached Files Attached Files

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,496

    Re: Match Index Doesn't Work

    two things, one is that your data in col A is text and you're trying to match it against numeric data in col D. Second is that you are pointing at the wrong cells.
    it should be this ... =INDEX(B$2:B$330,MATCH(D2,A$2:A$330,0))
    Plus a quick fix for the text in col A, highlight the column and do a find/replace, find what 0 and replace with 0 and make sure it is not set to match whole cell then hit replace all and it'll change them to numeric.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Match Index Doesn't Work

    The part nos in column A appear to be text and you appear to have columns A and B the wrong way round in the formula.

    Try this in E2 and copy down.

    =INDEX(B$2:B$330,MATCH(TEXT(D2, "@"),A$2:A$330,0))
    If posting code please use code tags, see here.

  4. #4
    Registered User
    Join Date
    06-24-2016
    Location
    Slovakia
    MS-Off Ver
    MS Office 365
    Posts
    92

    Re: Match Index Doesn't Work

    Hi benjie,
    it wasn't working for you because you had one column in text format and other in numbers so match function didn't work and you also used lookup in wrong columns. I modified your function and converted numbers to text.
    (you can find how to do it for example in this video: https://www.youtube.com/watch?v=x0ssRwGJpmg )

    Please check attached file if it works as you want and let me know

    Regards.
    Attached Files Attached Files
    Have a fantastic day

+ 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. [SOLVED] Exact match with decimals doesn't work
    By benishiryo in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 05-09-2016, 12:35 AM
  2. Index formula doesn't work
    By ioncila in forum Excel General
    Replies: 2
    Last Post: 11-17-2015, 12:07 PM
  3. [SOLVED] Index exact match doesn't work
    By I.am.Rustam in forum Excel General
    Replies: 2
    Last Post: 11-11-2015, 11:55 PM
  4. function INDEX MATCH MATCH doesn´t work
    By leonelcd in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-31-2015, 11:36 AM
  5. Index + Match doesn't work with text
    By blueturnaround in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-19-2014, 01:18 PM
  6. Index Match Match Formula DOESN'T WORK WITH TABLES/TABLE NAMES ??
    By Underling in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-04-2014, 09:01 PM
  7. Excel UDF using EVALUATE() method doesn't work with INDEX, OFFSET nor VLOOKUP
    By cryrus in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 06-02-2010, 04:53 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