+ Reply to Thread
Results 1 to 5 of 5

Help with VLOOKUP Formula

  1. #1
    Registered User
    Join Date
    07-15-2015
    Location
    AKL
    MS-Off Ver
    Excel for Mac 2013
    Posts
    2

    Help with VLOOKUP Formula

    Hi all!

    I'm after some help with a VLOOKUP so that I can match data from two tables, and add data from Sheet 1 to Sheet 2 alongside the key (Column 1: ICAO).

    This is the formula I've been using which returns the incorrect row of data:

    HTML Code: 
    I've attached what I've done so far, it returns some results and they're close, but ultimately not accurate at all. I was wondering if someone may be able to help with my formula so that it returns the correct data? (and where there is no ICAO, ignore the row)

    Thank you very much,
    Sean

    aerodrome-additional-data-v1.xls
    Last edited by stkl; 07-15-2015 at 01:04 AM.

  2. #2
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,879

    Re: Help with VLOOKUP Formula

    Why do you think it returns incorrect results?

    Like, can you tell me a specific row where the data returned is incorrect?
    Cheers!
    Deep Dave

  3. #3
    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
    30,837

    Re: Help with VLOOKUP Formula

    Trailing blanks in ICAO code to mismatch .... use


    =IFERROR(VLOOKUP(TRIM($A2),'aerodrome-additional-data-v1.cs'!$A$2:$H$186,6,FALSE),"")

    or TRIM the codes!

  4. #4
    Registered User
    Join Date
    07-15-2015
    Location
    AKL
    MS-Off Ver
    Excel for Mac 2013
    Posts
    2

    Re: Help with VLOOKUP Formula

    Thank you very much John, fixed perfectly!

    Need to get better at cleaning data, even if it doesn't seem dirty!

  5. #5
    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
    30,837

    Re: Help with VLOOKUP Formula

    Glad to help.

+ 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] additional criteria in vlookup/if formula. formula error
    By tmw6 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-27-2015, 07:57 AM
  2. vlookup, index/match formula factoring in time(days) and IF formula
    By rishijain11 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-08-2014, 06:37 PM
  3. [SOLVED] Vlookup with column name instead of col_index_name(3rd Section of Vlookup formula)
    By akulka58 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-21-2014, 10:42 AM
  4. [SOLVED] VBA code for change vlookup formula to vlookup formula with ISNA
    By erprasannaa in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-12-2013, 03:33 AM
  5. Vlookup referencing a vlookup formula
    By laurenann in forum Excel General
    Replies: 1
    Last Post: 01-24-2011, 05:52 PM
  6. Replies: 2
    Last Post: 10-08-2009, 09:51 PM
  7. [SOLVED] vlookup-reate a vlookup formula?
    By Pam C in forum Excel General
    Replies: 1
    Last Post: 03-16-2006, 12:15 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