Results 1 to 7 of 7

Thread: Left Vlookup

  1. #1

    Left Vlookup



    Register for a FREE account, and/
    or Log in to avoid these ads!

    With all the articles online, you would think I'd be able to make it work. I am the queen of vlookup and the slave to index/match.
    Here is the problem:

    In a worksheet called ScreenCats, I want to look up the value in A2 ("Lunch Specials") and find it in column B on a worksheet called MenuData, then return the value one cell to the left of it
    I only need to find it once. I cannot workout the appropriate index/match configuration to save my worthless life.

    I have attached a sample. If someone could put the formula in there for me or give me a literal formula here (meaning one I can copy/paste), I would be eternally grateful. I'm sick of making extra columns to the right. Can you believe I'm developing an APP here in VBA and can't get this stupid formula?

    excelgurusample.xlsx

    I am fine with named ranges!
    Last edited by Anne Troy; 2012-01-31 at 07:59 PM.

  2. #2
    Seeker lvalnegri's Avatar
    Join Date
    Jan 2012
    Location
    London
    Posts
    11
    Articles
    0
    try this in cell B2 in ScreenCats =INDIRECT("MenuData!A"&MATCH(A2,MenuData!B:B,0))

  3. #3
    You know, I don't know WHY that works. It looks VERY generic. I don't know WHY I couldn't make it work before. Thanks SOOOO much.

    Ken: Thanks for giving us this forum.

  4. #4
    Administrator Ken Puls's Avatar
    Join Date
    Mar 2011
    Location
    Nanaimo, BC, Canada
    Posts
    2,250
    Articles
    57
    Blog Entries
    14
    Excel Version
    Excel Office 365 Insider
    ROFL!

    Ivalnegri, thanks for joining and looking after Anne here.
    Ken Puls, FCPA, FCMA, MS MVP (Excel)

    Learn to Master Your Data at the Power Query Academy (the world's most comprehensive online Power Query training) or with my book M is for Data Monkey!

    Main Site: http://www.excelguru.ca -||- Blog: http://www.excelguru.ca/blog -||- Forums: http://www.excelguru.ca/forums
    Check out the Excelguru Facebook Fan Page -||- Follow Me on Twitter

    If you've been given VBA code (a macro) for your solution, but don't know where to put it, CLICK HERE.

  5. #5
    Anne, you know that INDIRECT is the last refuge of Excel scoundrels.

    What is wrong with a simple INDEX/MATCH?

    =INDEX(MenuData!A:A,MATCH(ScreenCats!A2,MenuData!B:B,0))

  6. #6
    Okay, Bob. I defer to your formulaic knowledge. I have another one for you. I will post a new thread. I appreciate fast help. LOL

  7. #7
    Quote Originally Posted by Anne Troy View Post
    Okay, Bob. I defer to your formulaic knowledge. I have another one for you. I will post a new thread. I appreciate fast help. LOL
    Formulaic? Are you suggesting that I follow a preformed set of rules to answer these threads?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •