+ Reply to Thread
Results 1 to 4 of 4

Match Function returning #N/A

  1. #1
    Valued Forum Contributor ron2k_1's Avatar
    Join Date
    09-30-2009
    Location
    Not the USA
    MS-Off Ver
    Excel 2003, 2007
    Posts
    606

    Match Function returning #N/A

    Uhmn! I haven't seen this one before buys.

    See the attached and look in Sheet1!D30:D37 returning #N/A as it can't locate the row index for the value specified. I've spent several minutes on this one and I don't seem to make any head-way.

    Am I missing something? I'd prefer if leave the exact match variable, as if we leave out the zero (0) variable it will give me the wrong result.

    Thanks guys,
    Attached Files Attached Files
    Last edited by ron2k_1; 05-31-2011 at 11:16 AM.
    Ron
    Knowledge is knowing that a tomato and pepper are fruits. Wisdom is knowing whether to put these in a fruit salad

    Kindly

    [1] Use code tags. Place "[code]" before the first line of code and "[/code"]" after the last line of code. Exclude quotation marks
    [2] Mark your post [SOLVED] if it has been answered satisfactorily by editing your original post in advanced mode.
    [3] Thank (using the little scale) those that provided useful help; its nice and its very well appreciated

  2. #2
    Forum Expert Colin Legg's Avatar
    Join Date
    03-30-2008
    Location
    UK
    MS-Off Ver
    365
    Posts
    1,256

    Re: Match Function returning #N/A

    Hi,

    It's a rounding issue due to how XL works with numbers under the hood.

    If you change the formula in D30 to this, it will return Clerk 6:
    Please Login or Register  to view this content.
    Hope that helps,

    Colin

    RAD Excel Blog

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Match Function returning #N/A

    Because of the calculations made in column M, Excel has rounding issue quirks ... try instead:

    =PROPER(INDEX(Sheet2!$F$4:$F$170,MATCH(ROUND(C30,1),Sheet2!$O$4:$O$170,0)))

    copied down.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  4. #4
    Valued Forum Contributor ron2k_1's Avatar
    Join Date
    09-30-2009
    Location
    Not the USA
    MS-Off Ver
    Excel 2003, 2007
    Posts
    606

    Re: Match Function returning #N/A

    Weird, never had the pleasure of meeting that before! I guess I'll be more careful and use those reassuring-value functions in the future.

    Thanks mates,

+ 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