+ Reply to Thread
Results 1 to 3 of 3

VLOOKUP not working

  1. #1
    Forum Contributor
    Join Date
    05-13-2009
    Location
    London, England
    MS-Off Ver
    Excel XP
    Posts
    174

    VLOOKUP not working

    Hi guys, a VLOOKUP formula is not working , Im guessing its because the column its searching through has formulae in them

    I need it to look at Cell Value instead of the formula in it.


    On the sheet 'Detail' I have the VLOOKUP formula in Column Z, it looks through Column Y and categorizes it as (Oil, Agriculturals, etc which is done using a range from sheet IMAP)

    How do I make the adjustment?

    Thanks
    Attached Files Attached Files
    Last edited by Pasha81; 11-11-2009 at 07:58 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: VLOOKUP not working

    The issue is more to do with the fundementals - ie a VLOOKUP looks left to right at all times - criteria must exist within leftmost column.

    You need to use an INDEX/MATCH approach, ie:

    =INDEX(IMAP!A:A,MATCH(Y2,IMAP!B:B,0))

  3. #3
    Forum Contributor
    Join Date
    05-13-2009
    Location
    London, England
    MS-Off Ver
    Excel XP
    Posts
    174

    Re: VLOOKUP not working

    Oh I see, thanks for explaining that. Because it was working when I used it to look left to right - confused me for a while.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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