+ Reply to Thread
Results 1 to 2 of 2

VLOOKUP is NOT working.

  1. #1
    Registered User
    Join Date
    04-15-2019
    Location
    Manila, Philippines
    MS-Off Ver
    2016
    Posts
    39

    VLOOKUP is NOT working.

    Hi.

    I have no idea why the VLOOKUP is not working. Cell G2 is supposed to look for the minimum value of column D, then Cell G3 would return the value corresponding to column A via VLOOKUP.

    As for now (testing) I used the value of 8.381256785 which should return 13, but no, it does not -_-
    Attached Files Attached Files

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,142

    Re: VLOOKUP is NOT working.

    why should it return 13
    you have
    =VLOOKUP(G2,A1:D169,1,TRUE)

    SO find the nearest smaller number in column A, as you have 1 and range A:D , and TRUE
    G2 has
    8.38125678518442
    so 8 is nearest
    ROW 8

    OK so i see you have the value in row 13 column D

    Are you expecting to find a NEAREST Value in column D and return the contents in A
    Then you may want to look at using INDEX/MATCH

    =INDEX(A1:A169,MATCH(G2,D1:D169,-1))

    Vlookup - usually looks to the Right of the cell in the range , so if the range is A it will look for a value in A and return a value based on the number of columns from A and included in the range
    NOT left of the lookup value , without some manipulation and index/match is easier
    Attached Files Attached Files
    Last edited by etaf; 07-03-2021 at 02:17 PM.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

+ 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] VlookUp not Working?
    By andyaf in forum Excel General
    Replies: 2
    Last Post: 03-03-2015, 12:40 AM
  2. Why isn't this VLOOKUP working?
    By djarcadian in forum Excel General
    Replies: 4
    Last Post: 12-21-2013, 06:30 PM
  3. [SOLVED] VLOOKUP not working
    By x65140 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-10-2013, 09:43 AM
  4. [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
  5. Vlookup not working
    By Xx7 in forum Excel General
    Replies: 3
    Last Post: 07-05-2011, 05:35 PM
  6. Vlookup not working
    By st_judeu@yahoo.com in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-25-2011, 05:04 AM
  7. Vlookup not working
    By arazoe in forum Excel General
    Replies: 2
    Last Post: 09-27-2010, 09:22 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