+ Reply to Thread
Results 1 to 2 of 2

Vlookup, using mid range and pulling back another column but the cell value varies

  1. #1
    Registered User
    Join Date
    10-10-2011
    Location
    Raleigh, NC
    MS-Off Ver
    Excel 2010
    Posts
    2

    Vlookup, using mid range and pulling back another column but the cell value varies

    Excel 2010
    I have a spreadsheet that has 2 sheets.
    Sheet 1 is called PC and Sheet 2 is called Names.
    On PC tab column A has a long name example
    Project Manager Aaron Gibbs Approved Your Document Upload Request (Request No 1002).eml

    My problem is I need to Match the Project Managers name in Column A in PC with that if the list of Project Manager Names from the Names tab.

    I tried =VLOOKUP(MID(A3,15,12),Names!$A$1:$B$56,2,TRUE) it brought back information but not the correct data. (the project managers name varies in length.)

    Name tab has 3 columns and I need to bring back all three column into PC tab.
    I thought about creating another column and putting the words Project Manager in front of the project manger actual names to see if it worked but it did not.

    I attached the workbook example.
    Attached Files Attached Files

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Vlookup, using mid range and pulling back another column but the cell value varie

    If the name is always followed by "Approved" then you can use this formula in B2 copied across and down

    =INDEX(Names!A$2:A$4,MATCH(MID($A2,17,FIND("Approve",$A2)-18),Names!$A$2:$A$4,0))

    Note that A4 in Names sheet has a trailing space which needs to be removed for the formula to work in row 4
    Audere est facere

+ 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