+ Reply to Thread
Results 1 to 5 of 5

Vlookup formula not working

  1. #1
    Registered User
    Join Date
    11-15-2012
    Location
    Denmark
    MS-Off Ver
    Excel 2021
    Posts
    50

    Vlookup formula not working

    I have written a vlookup formula. I'd like the formula in column K to look at the category in column E, then look in sheet 2 and return the number that is next to the category there. The purpose is to measure target vs. actuals, but I can't get my vlookup formula to work. I have attached an example.
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,723

    Re: Vlookup formula not working

    I would suggest you re-write the formula in K2 like this:

    =IF(ISERROR(VLOOKUP(E2,Sheet2!$A$1:$B$100,2,FALSE)),"","Match")

    then copy down.

    Hope this helps.

    Pete

  3. #3
    Forum Contributor
    Join Date
    11-05-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    229

    Re: Vlookup formula not working

    Hi!

    Assuming you need the values instead of the word "Match", the formula I've used should work for you.

    Don't forget to click the little star to the left of this post if you feel I helped!
    Attached Files Attached Files
    Taming the Excel dragon... www.TheExcelphile.com

  4. #4
    Forum Contributor
    Join Date
    11-02-2011
    Location
    Rugby, England
    MS-Off Ver
    Office 365
    Posts
    846

    Re: Vlookup formula not working

    Hi, Please see attached.
    Does this help?

    Regards
    Attached Files Attached Files
    Last edited by galvinpaddy; 11-27-2012 at 10:01 AM.

  5. #5
    Forum Contributor Legend Rubber's Avatar
    Join Date
    09-21-2012
    Location
    Tillsonburg, Ontario
    MS-Off Ver
    Excel 2010
    Posts
    392

    Re: Vlookup formula not working


+ 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