+ Reply to Thread
Results 1 to 4 of 4

Match Category ID's to Campaign Names with inexact vlookup matches.

  1. #1
    Registered User
    Join Date
    04-24-2014
    Location
    Mexico, Mexico
    MS-Off Ver
    Excel 2007
    Posts
    2

    Match Category ID's to Campaign Names with inexact vlookup matches.

    Hey everyone,
    I've done quite a bit of searching around but just can't find an answer to my problem.

    I have several Campaign Names (about a thousand) and about 25000 categories (with ID's) to choose from and would like to assign the Category ID's to the Campaign Names without doing manual searches. My problem is that the names are not similar enough for vlookup and I didn't get any usable results with the fuzzy lookup add in either.

    I will attach an example of both my Campaign and my Category file for reference.

    Thanks a lot!
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,437

    Re: Match Category ID's to Campaign Names with inexact vlookup matches.

    This formula in G2:

    =IFERROR(VLOOKUP("*"&TRIM(MID(F2,4,LEN(F2)-16)),A:B,2,0),"")

    and copied down will give you all but one of the IDs, but I suspect that is down to the regularity of your sample data and that in your real data there would be far fewer matches found.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    04-24-2014
    Location
    Mexico, Mexico
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Match Category ID's to Campaign Names with inexact vlookup matches.

    Hey Pete,
    Thanks for your solution but unfortunately the real data is way less regular than the samples I gave. I'm thinking of maybe creating a VBA script to adress my problem but I'm not entirely sure if I'll manage. Something that looks for matching words might just work.

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Match Category ID's to Campaign Names with inexact vlookup matches.

    If you can't find a solution for the less regular data, that will be a problem in VGA also.


    I think text to column with as separator >

    Make a new column with +"cb. "&a2&"para hombres"

    Then you can use Vlookup to find those ID.

    Or use index / match.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

+ 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. [SOLVED] VLOOKUP or INDEX-MATCH to assign appropriate category
    By bxk006 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-21-2013, 11:26 AM
  2. Replies: 6
    Last Post: 04-12-2013, 05:50 AM
  3. [SOLVED] VLOOKUP (or Index/Match) across four columns -- and returning multiple matches
    By rcasey in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-11-2013, 05:20 PM
  4. Replies: 1
    Last Post: 10-17-2012, 06:48 AM
  5. Vlookup or Index Match on 2 matches
    By jmuise2007 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-19-2007, 08:22 PM

Tags for this Thread

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