+ Reply to Thread
Results 1 to 6 of 6

Help: VLOOKUP Function Error

  1. #1
    Registered User
    Join Date
    11-13-2015
    Location
    Abu Dhabi, UAE
    MS-Off Ver
    MS Office 2013 Pro
    Posts
    26

    Help: VLOOKUP Function Error

    Hi guys,

    I am new to excel and having difficulties using vlookup function for the sports day.

    I am having a trouble with the vlookup function to get the student name from the table above looking at the record value in the left.
    I have attached a file if you want to have a look what the problem is.

    Feel free to suggest any other ideas to make it better
    Attached Files Attached Files
    Last edited by Jung Bin; 11-20-2015 at 12:09 PM.

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,483

    Re: Help: VLOOKUP Function Error

    VLOOKUP can not lookup to the left. Use INDEX instead.

    =INDEX($B$4:$B$12,MATCH($A15,Score,0))
    Quang PT

  3. #3
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Help: VLOOKUP Function Error

    Hi
    use in B15
    =INDEX($B$4:$B$12,MATCH(A15,$D$4:$D$12,FALSE),1)

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2406 Win 11 Home 64 Bit
    Posts
    23,983

    Re: Help: VLOOKUP Function Error

    In B15 use the Index/Match function

    =INDEX(B4:B12,MATCH(A15,Score,0))

    vlookup only looks to the right.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  5. #5
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Help: VLOOKUP Function Error

    VLOOKUP's always go left to right. You'll need to use something different like INDEX MATCH

    One dimensional INDEX/MATCH
    =INDEX(Range to Return, MATCH(value, value range, 0 (for exact match)))
    So in M10

    =INDEX($B$4:$B$12, MATCH(L10,Score,0))
    Questions?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  6. #6
    Registered User
    Join Date
    11-13-2015
    Location
    Abu Dhabi, UAE
    MS-Off Ver
    MS Office 2013 Pro
    Posts
    26

    Re: Help: VLOOKUP Function Error

    Thank you very much all of you, really appreciate it.

+ 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] Error in Vlookup function
    By BRout in forum Excel - New Users/Basics
    Replies: 8
    Last Post: 07-28-2014, 03:50 AM
  2. [SOLVED] Error in IF-VLOOKUP function
    By Fantastic in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-12-2013, 10:55 AM
  3. [SOLVED] Vlookup function gives me #REF error
    By GeoFoxy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-15-2013, 02:14 PM
  4. If and Vlookup Function Error
    By casdaq in forum Excel General
    Replies: 1
    Last Post: 02-03-2011, 01:30 PM
  5. VLookup Function Error #Value!
    By hasin in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-15-2008, 08:24 AM
  6. VLOOKUP function #REF error
    By hokeyplyr48 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-01-2008, 12:51 PM
  7. [SOLVED] Vlookup function error
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-31-2006, 11:20 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