+ Reply to Thread
Results 1 to 10 of 10

I need to match information from one table to information in another

  1. #1
    Registered User
    Join Date
    03-28-2012
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    11

    I need to match information from one table to information in another

    Hi All,

    This may be fairly simple but I need to come up with a formula to save a heap of time.

    I have long list of Keywords (about 5,000) and each of them I need to allocate allocate a type to: Pure Brand, Brand or Generic.

    Now I have gone through and created a table with each of the words and manually given each the relevent label - the problem is that I need to run a search every week and these keywords may well change.

    so what I need is a formula/process that means that it will automatically search out the terms that have been used before and allocate the relevent tag - I can then come along, filter the remainder and then allocate the tag it requires.

    Cheers for your help!

    Myles

  2. #2
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: I need to match information from one table to information in another

    it would be mighty helpful to have a sample file.

  3. #3
    Forum Contributor
    Join Date
    09-23-2008
    Location
    UK
    Posts
    137

    Re: I need to match information from one table to information in another

    Say your keywords are in column A and your allocated labels in column B. Say you new list of keywords is in column C. Then the following formula in (say) cell D2 would be: =VLOOKUP(C2,A:B,2,0)

    Then filter for #N/A, these are the ones that need to be added to your master list.

  4. #4
    Registered User
    Join Date
    03-28-2012
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: I need to match information from one table to information in another

    Thanks for your help - I've uploaded the example
    Attached Files Attached Files

  5. #5
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: I need to match information from one table to information in another

    Try.. in G5

    =IFERROR(INDEX(A:A,MATCH(H5,B:B,0)),"")

    then copy down. Blank cells means no match found in Table1
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  6. #6
    Forum Contributor darknation144's Avatar
    Join Date
    01-24-2012
    Location
    London
    MS-Off Ver
    Microsoft Excel 365 MSO
    Posts
    555

    Re: I need to match information from one table to information in another

    Did that work?

  7. #7
    Registered User
    Join Date
    03-28-2012
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: I need to match information from one table to information in another

    It looks like it does! Epic work - would you just be able to give me a bit of a break down of it please so I can transfer this elsewhere please?

    Thanks again all!

  8. #8
    Forum Contributor darknation144's Avatar
    Join Date
    01-24-2012
    Location
    London
    MS-Off Ver
    Microsoft Excel 365 MSO
    Posts
    555

    Re: I need to match information from one table to information in another

    A break down how so? You want to know how it works?

  9. #9
    Registered User
    Join Date
    03-28-2012
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: I need to match information from one table to information in another

    Yes please - just if i have any probs I can sort it - also like to learn it.

    cheers

  10. #10
    Forum Contributor darknation144's Avatar
    Join Date
    01-24-2012
    Location
    London
    MS-Off Ver
    Microsoft Excel 365 MSO
    Posts
    555

    Re: I need to match information from one table to information in another

    =IFERROR(INDEX(A:A,MATCH(H5,B:B,0)),"")

    INDEX(A:A = This is where index looks to search in reference to the match.

    MATCH(H5,B:B,0) = Looks for whatever is in H5 in the Column B and is looking for the exact value (that is what the 0 means)

    =IFERROR(INDEX(A:A,MATCH(H5,B:B,0)),"") = This means if the formula returns an error it will be left blank.

+ 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