+ Reply to Thread
Results 1 to 12 of 12

VLOOKUP not retunring data

  1. #1
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    VLOOKUP not retunring data

    hi guys

    Column E in my sheet has less data compared to my range but it is not returning data from column b? can someone help>


    thanks!
    Attached Files Attached Files
    Thanks,

    R.



  2. #2
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: VLOOKUP not retunring data

    Hi,

    Try this in F2 and down:
    =INDEX(A:A,MATCH(E2,B:B,0))
    Attached Files Attached Files
    Last edited by Limor_OP; 09-14-2020 at 10:00 AM.

  3. #3
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,443

    Re: VLOOKUP not retunring data

    Hi,

    Are you trying to lookup in Column B and return column A?

    If so, try this:

    =INDEX($A$2:$A$590,MATCH(E2,$B$2:$B$590,0))

    Note that you can't VLOOKUP to the left
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  4. #4
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: VLOOKUP not retunring data

    Your error was that you were searching the value on column A whereas is resides on column B
    Since Vlookup cannot search column B and return A (unnatural direction), you should use the index/match functions.

  5. #5
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    Re: VLOOKUP not retunring data

    Hi both,

    I`m still getting #NA error..

  6. #6
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    Re: VLOOKUP not retunring data

    Trying to see if data from column E is in column B. thank you

  7. #7
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: VLOOKUP not retunring data

    I added the file to my post #2

  8. #8
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: VLOOKUP not retunring data

    So use this formula:
    =VLOOKUP(E2,B:B,1,0)

  9. #9
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    Re: VLOOKUP not retunring data

    thanks belind afor the file!

  10. #10
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,445

    Re: VLOOKUP not retunring data

    Quote Originally Posted by belinda200 View Post
    So use this formula:
    =VLOOKUP(E2,B:B,1,0)
    What's the point in looking up a value in the column where it already is?

    @rayted
    Be aware that using entire column/rows references is bad practice

  11. #11
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: VLOOKUP not retunring data

    Hi Pepe Le Mokko,
    Don't understand your observation...he is searching E on B....it's not the same column.
    am I missing something?

  12. #12
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,445

    Re: VLOOKUP not retunring data

    @Belinda
    Your lookup range is col B and the value should be looked up in column 1 which is also col B:B Your solution will return E2 or NA

+ 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: 02-14-2019, 05:02 PM
  2. Index match formula retunring first occurence
    By Dinah_M in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 09-28-2018, 01:32 AM
  3. Replies: 11
    Last Post: 12-04-2012, 02:56 AM
  4. Replies: 9
    Last Post: 11-26-2012, 12:46 AM
  5. Excel 2007 : lookup retunring multiple values
    By Icehockey44 in forum Excel General
    Replies: 5
    Last Post: 07-27-2012, 05:11 AM
  6. [SOLVED] vlookup function-Can vlookup command find the data from the 5 sheets.
    By Rishab shah in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM
  7. Replies: 10
    Last Post: 04-29-2005, 05:06 PM

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