+ Reply to Thread
Results 1 to 3 of 3

Vlookup not working

  1. #1
    Forum Contributor
    Join Date
    04-27-2010
    Location
    Kinsale, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    129

    Vlookup not working

    Dear Forum.

    Hoping someone can help me with this.

    Please see attached workbook. In Column H23:H110 I have a lookup formula. The column that it is looking at (D) has data Validation for entries that correspond to the 'Lookup cells' (I3:K9). For some reason it works fine if I select 'HL/LL/UO/Shared High & Ceiling' in column D, however if I select 'FHR' or 'Header' I get an '#N/A'. I have checked the format and it seems fine. When I used Formula Checking it seems to have an issue with the entry in D before it's even looking at the 'lookup cells'.

    Please see D96 & H96 for this issue.

    Any help would be very much appreciated as this is needed asap and I'm at a loss.

    Thank you in advance.
    Attached Files Attached Files
    Last edited by Cidona; 02-08-2018 at 04:34 PM.

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,811

    Re: Vlookup not working

    I note that your VLOOKUP(...) function has omitted the 4th argument -- which specifies binary search/approximate match or exact match. When omitted, VLOOKUP() assumes TRUE for this argument, meaning it will use the approximate match algorithm which requires that the lookup values be sorted in ascending order. A lookup value that would come before the first entry (FHR comes before HL alphabetically), it returns N/A.

    The solution is to use exact match FALSE or 0 for the 4th argument of the VLOOKUP function. help file: https://support.office.com/en-us/art...8-93a18ad188a1

    Onedit: alternative solution would be to sort the lookup table by categories.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Forum Contributor
    Join Date
    04-27-2010
    Location
    Kinsale, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    129

    Re: Vlookup not working

    Beautiful MrShorty!!! Thank you very much!!!!

+ 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. VLOOKUP not working
    By chilledmalt in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 09-08-2016, 10:26 AM
  2. IF with VLOOKUP is not working
    By PuzzledPlanner in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-23-2016, 11:13 AM
  3. Vlookup not working
    By Sarine Abadjian in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-10-2014, 10:52 AM
  4. Vlookup not working
    By VBA_Excel_help in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-29-2014, 08:54 AM
  5. [SOLVED] Vlookup not working
    By excellearner121 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-04-2013, 08:57 PM
  6. [SOLVED] Vlookup is not working and giving =vlookup(B2,$T$2:$U$135,2,false) this kind of values.
    By yogeshsharma1981 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-09-2013, 04:08 PM
  7. VLOOKUP - isn't working??
    By tlapointe1970 in forum Excel General
    Replies: 4
    Last Post: 04-16-2011, 10:12 PM

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