+ Reply to Thread
Results 1 to 3 of 3

Vlookup not working – incorrect return

  1. #1
    Valued Forum Contributor
    Join Date
    04-21-2005
    Location
    Southern England
    MS-Off Ver
    Excel for Office 365
    Posts
    1,702

    Vlookup not working – incorrect return

    Hi,

    I can not see why VLOOKUP isn’t working for me.

    It should be returning “ignore” as per the data table however it isn’t – it returns something else instead.

    Why would this be?

    I have uploaded the file and highlited in yellow the incorrect formula result on the “Data” sheet.
    Attached Files Attached Files

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Vlookup not working – incorrect return

    Vlookup looks at * as a wildcard and found the first occurance of the phrase within B71 instead of in B75.

    try:

    =VLOOKUP(SUBSTITUTE(B5,"*","~*"),Lookup!$B$5:$D$435,3,FALSE)

    The ~ negates the wildcard
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Valued Forum Contributor
    Join Date
    04-21-2005
    Location
    Southern England
    MS-Off Ver
    Excel for Office 365
    Posts
    1,702

    Re: Vlookup not working – incorrect return

    Result - that worked! Thanks!!

+ 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