+ Reply to Thread
Results 1 to 5 of 5

VLOOKUP Help

  1. #1
    Registered User
    Join Date
    04-23-2012
    Location
    Somewhere Out There
    MS-Off Ver
    Excel 2007, 2010, 2013
    Posts
    11

    Question VLOOKUP Help

    I have two different reports that I get. Im combining them into two sheets and doing a VLOOKUP to Match Incident #'s in each with a PCR # in one of the sheets. Everything I get back is either #REF or #N/A. The #N/A appears to be because it's not finding a record that matches but I can't understand why I'm getting the #REF.
    I've attached the sheet for reference. Would greatly appreciate some help.
    Thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: VLOOKUP Help

    Try this one

    =IFERROR(VLOOKUP(A2,'EMEDS 2014-05'!$A$2:$C$524,3,0),"Not Found")
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: VLOOKUP Help

    The REF errors are because your lookup range is only 1 column $A$2:$A$524
    But you're trying to return a value from the 3rd column..There is no 3rd column in $A$2:$A$524
    So that should probably be $A$2:$C$524

    Formuila in C2 should be
    =VLOOKUP(A2,'EMEDS 2014-05'!$A$2:$C$524,3,0)

    And you're correct, the #N/A's are because there is no matching value in the source sheet.

  4. #4
    Registered User
    Join Date
    04-23-2012
    Location
    Somewhere Out There
    MS-Off Ver
    Excel 2007, 2010, 2013
    Posts
    11

    Re: VLOOKUP Help

    Alkey, I was getting there once I got it to work. Thanks, Jonmo1, that was it, first time using VLOOKUP and I thought the range was the range in which you were comparing values and then by selecting the index you indicated which column you wanted the value out of. I thought wrong. I now understand. Thank you both for your help!

  5. #5
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: VLOOKUP Help

    You're welcome.

+ 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. Replies: 0
    Last Post: 12-26-2013, 01:12 PM
  2. Display Cell within VLookup range that excel thinks matches the VLookup Value
    By headachexcelperson in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-04-2013, 04:56 PM
  3. [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
  4. vlookup? match? index? MULTIPLE criteria for vlookup search problem....
    By aborg88 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-11-2013, 09:56 AM
  5. Replies: 5
    Last Post: 07-29-2009, 07:53 AM

Tags for this Thread

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