+ Reply to Thread
Results 1 to 5 of 5

Find name which could be in column A or B - Vlookup

  1. #1
    Registered User
    Join Date
    04-08-2020
    Location
    uk
    MS-Off Ver
    office 360
    Posts
    9

    Find name which could be in column A or B - Vlookup

    Hi
    I have been racking my brains trying to work this out, so could really do with some help.
    I need to find a name which could be in either column A or B then give me the data for that row at column 11.
    I have been trying to use Vlookup but cannot get it to look for the required name in A or B.

    Can someone please help.

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Find name which could be in column A or B - Vlookup

    Use the IfError formula in conjunction with INDEX, MATCH. See the formula in cell F1 in the attached.

    =INDEX(Table1,IFERROR(MATCH(E1,Table1[Name 01],0),MATCH(E1,Table1[Name 02],0)),3)
    Attached Files Attached Files
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Registered User
    Join Date
    04-08-2020
    Location
    uk
    MS-Off Ver
    office 360
    Posts
    9

    Re: Find name which could be in column A or B - Vlookup

    This has been working great for me but i need to tweek it slightly. When it looks up a name, i need it to find a close match but not exact.

    For example look up John Dow but will find John Dow agency.

    Is this possible and if so can someone please tell me how to tweek the above formula.
    Last edited by valks1; 11-18-2020 at 04:25 PM.

  4. #4
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Find name which could be in column A or B - Vlookup

    Try to combine 2 names then using substitute and Lookup
    Attached Files Attached Files
    Quang PT

  5. #5
    Registered User
    Join Date
    04-08-2020
    Location
    uk
    MS-Off Ver
    office 360
    Posts
    9
    Wow thanks bebo that looks perfect for what i need.
    Many thanks to everyone.

+ 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. Replies: 3
    Last Post: 04-08-2020, 04:47 PM
  2. Replies: 3
    Last Post: 01-24-2018, 05:43 AM
  3. [SOLVED] Find header for column number to use in vlookup
    By Simone Fick in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-20-2017, 10:29 AM
  4. VLOOKUP - Find more data by extending row and column
    By hassanyf in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 10-28-2015, 04:25 PM
  5. VLOOKUP using MATCH to find column
    By jwillis07 in forum Excel Formulas & Functions
    Replies: 34
    Last Post: 05-24-2014, 04:16 AM
  6. Replies: 7
    Last Post: 02-03-2012, 10:06 AM
  7. VLookup for find Text in Column
    By NKRA in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 11-30-2010, 11:50 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