+ Reply to Thread
Results 1 to 9 of 9

Finding a list which has the most similar entries to a reference list

  1. #1
    Registered User
    Join Date
    10-26-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2007
    Posts
    22

    Finding a list which has the most similar entries to a reference list

    Hi Guys,

    Found this a bit hard to explain, so any questions please don't hesitate to ask!

    I have two lists of product data, one for buyers and one for sellers (these are listed as A, B, C).
    The product names are not exactly the same (Eg Playstation and playstation three should be matched), I would have thought using the FuzzyLogic add in to match these would be the way forward but i'm open to suggests!
    I need to rank the sellers by how many of their items appear on the buyers list

    If anyone has a solution for this, but only finds exact matches I'd really like to hear it, I think I might be able to change the data so that the items are exactly the same

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Finding a list which has the most similar entries to a reference list

    This does some of what you want but there are just too many possibilities for the economics entries. This compares column D against column B and if the contents of column D is found in column B it is counted. The entries for economics show the limitations of this.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  3. #3
    Registered User
    Join Date
    10-26-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Finding a list which has the most similar entries to a reference list

    Thanks Newdoverman, however not quiet there, apologies the explanation was poor, I need the match buy and seller lists which are most similar

    For example, seller A has two matches with buy A; a bean bag and an international economics book, zero matches with seller B, and one match with seller C, a bean bag
    Ergo, for seller A buyer A would be the closest match, followed by buyer C

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Finding a list which has the most similar entries to a reference list

    There might be a solution to this problem but there are just too many possibilities of matches due to the need of using wildcards to make matches. A control over what is entered for the buyers' purchases would be the easiest to implement. Due to this, there really isn't any way of knowing who bought what from whom.

  5. #5
    Registered User
    Join Date
    10-26-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Finding a list which has the most similar entries to a reference list

    I can ensure that all similar items are the same if you know of a solution to matching these similar lists?

  6. #6
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Finding a list which has the most similar entries to a reference list

    I suspect that this is a very small portion of a much larger listing and if that is the case, the problems of matching will grow exponentially. There has to be a way of limiting what is entered (within reason).

  7. #7
    Registered User
    Join Date
    10-26-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Finding a list which has the most similar entries to a reference list

    Yes the list could grow to a huge number of variations, but I'm working on a solution for that separately using a combination of FuzzyLogic and macro's, this can be done prior to the matching of a list so that it only needs to match exact strings.

    Any suggestions from anyone?

    Thanks,

  8. #8
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Finding a list which has the most similar entries to a reference list

    With the first list in column A and the second list in column D

    Enter in column B and copy down. I have used 20,000 rows but you can change that to suit.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Enter in Column C and copy down to check the entries in column D match the entries in column A.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Now you can sort to separate what is included in both lists and what isn't.

  9. #9
    Registered User
    Join Date
    10-26-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Finding a list which has the most similar entries to a reference list

    Thanks for the suggestion, but I think youve misunderstood slightly. Using the file attached as an example, Column A lists seller names (A, B, C are used in the example), column B lists the item each of the sellers items. For example, Seller A is selling a bean bag, and a International economics [textbook].
    The same applies to column C and D respectively, the difference being that these are buying these products.

    I am looking for a way to identify which buyer has the most similar items for each of the sellers. For example, seller A would have buyer A listened next to their items as their list contains all of their items

+ 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. Finding similar names (text) in a list
    By hussmanne in forum Excel General
    Replies: 7
    Last Post: 07-24-2013, 02:08 AM
  2. A way to remove similar entries from a list?
    By AJX in forum Excel General
    Replies: 5
    Last Post: 01-16-2013, 07:02 AM
  3. [SOLVED] Finding Max # in a list of similar models
    By elcarp in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 12-13-2012, 03:41 PM
  4. Get a list of entries - similar to an SQL queries
    By WindRider in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-08-2011, 01:26 PM
  5. [SOLVED] Finding new entries in list
    By Greg in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-03-2005, 07:06 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