+ Reply to Thread
Results 1 to 4 of 4

Lookup Help Again

  1. #1
    Registered User
    Join Date
    02-01-2013
    Location
    Denver
    MS-Off Ver
    Excel 2007
    Posts
    9

    Lookup Help Again

    So, I have attached an example of what I want. But in a nutshell.

    Sheet1 has 2 columns, several hundred rows long. Column A contains a region code (ie. AND/POY). Column B contains a point of contact.

    Sheet2 has 2 columns, several hundred rows long. Column A contains a server name that contains a region code (ie. !AND/POY Production Server). Column B is blank.

    I want a formula that will look at Sheet2, column A. It will then find the row in Sheet1 that contains the region code embedded in the Server Name and then fill in the B column with the point of contact name.
    Attached Files Attached Files

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Lookup Help Again

    Maybe...
    Please Login or Register  to view this content.
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Valued Forum Contributor Harribone's Avatar
    Join Date
    02-24-2013
    Location
    Midlands, UK
    MS-Off Ver
    Excel 2019/365
    Posts
    570

    Re: Lookup Help Again

    RegionLookup.xlsx

    Attached should do what you want. Note that B4 has returned an error because the region in the server does not contain "/", I assume this is a typo but if there are any situations that this doesn't work for let me know.

    EDIT: tiger's formula is tider than mine so use that one, looks like I've learnt something myself!
    Say thanks, click *

  4. #4
    Registered User
    Join Date
    02-01-2013
    Location
    Denver
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Lookup Help Again

    Thanks to both of you. Both formulas worked like a charm!

+ 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