+ Reply to Thread
Results 1 to 4 of 4

VLookup Problem

  1. #1
    Registered User
    Join Date
    09-30-2014
    Location
    Johns Island, South Carolina
    MS-Off Ver
    Office for Mac 2011
    Posts
    25

    VLookup Problem

    I'm trying to use the VLookup formula to "extract" locations (cities) from a cell. I have tried different variations of the formula but couldn't get it to work. What I would need help with is that if one of the Locations in Column E is found in Column A the result should be in Column B. And if successful, the corresponding State (Column F) should be added to Column C. Since I have hundreds of locations to "extract", the regular "if" function is not ideal since it's easier to add the locations to a list then to manually add it to the "if" function. I would appreciate if someone could give me some input on how to solve my issue.
    Attached Files Attached Files

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: VLookup Problem

    Try this in B2:

    =INDEX(E$1:E$6,MATCH(TRUE,INDEX((ISNUMBER(SEARCH($E$1:$E$6,$A2))),),0))

    Drag to the right and down.
    Last edited by 63falcondude; 11-12-2018 at 02:12 PM.

  3. #3
    Registered User
    Join Date
    09-30-2014
    Location
    Johns Island, South Carolina
    MS-Off Ver
    Office for Mac 2011
    Posts
    25

    Re: VLookup Problem

    That worked. You are awesome. Thank you so much for your help.

  4. #4
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: VLookup Problem

    You're welcome. Happy to help.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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. VLookup AND Problem
    By ScabbyDog in forum Excel General
    Replies: 4
    Last Post: 04-03-2018, 02:30 AM
  2. Vlookup problem in a loop with cell property and variable cell problem (long title sry)
    By ExcelsiorLux in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-13-2013, 10:38 AM
  3. Replies: 6
    Last Post: 05-28-2013, 05:08 PM
  4. vlookup? match? index? MULTIPLE criteria for vlookup search problem....
    By aborg88 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-11-2013, 09:56 AM
  5. [SOLVED] VLOOKUP problem
    By ddub25 in forum Excel General
    Replies: 8
    Last Post: 06-22-2012, 08:29 AM
  6. IF And Vlookup problem
    By AESP920 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-25-2010, 09:56 PM
  7. vlookup problem and count problem
    By thy00123 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-05-2009, 04:31 AM

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