+ Reply to Thread
Results 1 to 6 of 6

Excel 2007 : Index-Match Error

  1. #1
    Registered User
    Join Date
    12-20-2010
    Location
    Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    8

    Index-Match Error

    Hi,

    I'm trying to match a value(Column1) to another value from a range (Column2) and display a value from (Column3).

    It does not display a value, but #NA.

    However, when i manually type the data on Column1, it will display a value from Column 3, if it matches column 2.

    Tried all sorts of cell formatting, but it still does not work. Basically, the copied and pasted data does not read.

    Appreciate your help on this.

    formula looks like this:

    =INDEX($K$2:$K$742,MATCH(A2,$J$2:$J$742,0))

  2. #2
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Index-Match Error

    Hi,

    Your lookup value and the values in your lookup array need to be the same data types so it will not work if, for example, one is text and the other numeric. Formatting the cell does nothing to change the underlying value so will make no difference.

    It might help to see a sample workbook showing the data you are working with.

    Dom
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

    Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Index-Match Error

    Hi

    ..However, when i manually type the data on Column1,
    It's look's like a format problem. Take a look on it..
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Registered User
    Join Date
    12-20-2010
    Location
    Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Index-Match Error

    How do I change the underlying format if by formatting cell is not gonna help?

    Tks for looking.

  5. #5
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Index-Match Error

    It depends what values we're talking about. Can you upload a sample workbook?

    Dom

  6. #6
    Registered User
    Join Date
    12-20-2010
    Location
    Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Index-Match Error

    Hihi.
    Found the problem. There were spaces after the copied and pasted data.
    How careless of me.
    Tks for the help ppl.
    Appreciate it.

+ 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