+ Reply to Thread
Results 1 to 7 of 7

Compare sentense between 2 excel files and find match cell.

  1. #1
    Forum Contributor
    Join Date
    03-06-2014
    Location
    malaysia
    MS-Off Ver
    Excel 2003/2010/2013
    Posts
    107

    Compare sentense between 2 excel files and find match cell.

    Hi, I have a list of books (TEST.XLS) which I need to compare them with (Copy of TEST.XLS) to find is is already available or not.

    and those FOUNDED result from (TEST) will be copy to the Column B (Copy of TEST).

    For example List A2:TEST found match with cell C2:Copy of TEST, I want C2:Copy of TEST cell value copy to B2:TEST

    test.png

    Thank you in advance

  2. #2
    Forum Contributor
    Join Date
    03-06-2014
    Location
    malaysia
    MS-Off Ver
    Excel 2003/2010/2013
    Posts
    107

    Re: Compare sentense between 2 excel files and find match cell.

    http://www.excelforum.com/attachment...1&d=1461313772

    http://www.excelforum.com/attachment...1&d=1461313772
    Attached Files Attached Files

  3. #3
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: Compare sentense between 2 excel files and find match cell.

    Formula in B2:

    =IFERROR(INDEX([TEST.xlsx]Sheet1!C:C,MATCH("*"&A2&"*",[TEST.xlsx]Sheet1!C:C,0),),"")

    then copy down...

  4. #4
    Forum Contributor
    Join Date
    03-06-2014
    Location
    malaysia
    MS-Off Ver
    Excel 2003/2010/2013
    Posts
    107

    Re: Compare sentense between 2 excel files and find match cell.

    Hi Jindon,

    Thank you for the formula. works great!

    btw, can combine 1 formula to scan column C and column G together?

    and, possible to insert this formula into vba/macro for easier solution without dragging all the way down? because i have 20000 + rows!

  5. #5
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: Compare sentense between 2 excel files and find match cell.

    Assuming both workbooks are in the same folder.
    To Copy of test.xlsx
    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    03-06-2014
    Location
    malaysia
    MS-Off Ver
    Excel 2003/2010/2013
    Posts
    107

    Re: Compare sentense between 2 excel files and find match cell.

    HI jindon,

    Thanks again for your help. Code given works like charm!

    I want to ask how do you convert those formula into vba formula? Im thinkin to use =(formula)&""&formula to combine both formula so that both results will be on 1 column. Could you help me to convert into vba formula?

  7. #7
    Forum Contributor
    Join Date
    03-06-2014
    Location
    malaysia
    MS-Off Ver
    Excel 2003/2010/2013
    Posts
    107

    Re: Compare sentense between 2 excel files and find match cell.

    GOT IT RIGHT! THANKS!

    Please Login or Register  to view this content.

+ 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] Formula to remove first 8 characters from the sentense in the cell
    By alipezu in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-31-2015, 07:38 AM
  2. [SOLVED] On click, find text, compare and return cell for every found match.
    By y0brah in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-29-2014, 10:41 AM
  3. [SOLVED] Compare 2 Excel files with multiple tabs for differences (find changes)
    By bdicarlo1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-04-2013, 05:58 PM
  4. Compare files to find revised and new records
    By beenile in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-22-2013, 11:20 AM
  5. Replies: 0
    Last Post: 05-22-2013, 04:40 AM
  6. compare two files and match id
    By ebbo in forum Excel General
    Replies: 10
    Last Post: 11-12-2009, 07:29 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