+ Reply to Thread
Results 1 to 6 of 6

How to compare the variation of positions between two lists

  1. #1
    Registered User
    Join Date
    01-23-2019
    Location
    São Paulo, Brazil
    MS-Off Ver
    Excel for Mac (16.21)
    Posts
    5

    How to compare the variation of positions between two lists

    I have two lists, both with the same 196 names (all different from each other).


    The two lists are distinguished only by the position in which each name appears. So, let's say that in the first list the name X is in the third row and in the second list it is in the fourth row. In this case X dropped one position, thus the variation in relation to the first list was -1.

    I would like to know if there is a way to Excel compare the two lists and inform how many positions each name has dropped or rose.


    Thanks!

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,496

    Re: How to compare the variation of positions between two lists

    one way is if they are last name, first name in one list and first name, last name in another then the easiest way is to use text to columns and/or formulas to reverse one of the lists so it looks like the other list.
    But one thing I've found very helpful (but I don't know if it is available for Mac) is to download the fuzzy lookup by Microsoft for excel located here...
    https://www.microsoft.com/en-us/down....aspx?id=15011
    It seems to be only for platforms with windows so it might not be available for you.
    For a more specific tailored response upload a specific workbook with enough examples that show what you have and leave out any confidential information, change names if necessary.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Registered User
    Join Date
    01-23-2019
    Location
    São Paulo, Brazil
    MS-Off Ver
    Excel for Mac (16.21)
    Posts
    5

    Re: How to compare the variation of positions between two lists

    Sambo, thank you for the answer.

    I am uploading a workbook to give an example of what I want to do.
    In column A I have the positions of constitutions from 1 to 10. And in column B I have the name of ten constitutions.
    In column C I have the same ten constitutions, but in a different order.

    In column D I have manually determined the variation of each constitution's position in column C compared to column B.
    My question is: there is a way for Excel automatically determine this position variation?
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor
    Join Date
    10-29-2012
    Location
    Mojokerto,Indonesia
    MS-Off Ver
    Excel 2007
    Posts
    554

    Re: How to compare the variation of positions between two lists

    at D2
    =MATCH(C2,$B$2:$B$11,0)-MATCH(C2,$C$2:$C$11,0)

    copy down

  5. #5
    Registered User
    Join Date
    01-23-2019
    Location
    São Paulo, Brazil
    MS-Off Ver
    Excel for Mac (16.21)
    Posts
    5

    Re: How to compare the variation of positions between two lists

    This worked!

    Thank you a lot!

  6. #6
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,496

    Re: How to compare the variation of positions between two lists

    well that isn't at all what I thought was being requested, it is good you posted the workbook. Glad Ghozi got you what you wanted.
    don't forget to mark your post as solved using the thread tools dropdown at the top of the post.

+ 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] Compare Two Cells & Return Whats Common Between the two strings and delete the variation
    By alfykunable in forum Excel Programming / VBA / Macros
    Replies: 34
    Last Post: 10-24-2020, 02:00 PM
  2. [SOLVED] Locate the 25 positions of the letters of the 4 blocks Each block has 25 positions
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 50
    Last Post: 12-22-2017, 12:46 PM
  3. Replies: 2
    Last Post: 11-27-2016, 05:56 PM
  4. [Help] Compare Two Lists
    By paulocsm in forum Excel General
    Replies: 2
    Last Post: 09-27-2015, 05:17 PM
  5. Compare lists
    By amartino44 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-23-2013, 12:06 PM
  6. Variation to pulldown lists and populating data
    By krt777 in forum Excel General
    Replies: 3
    Last Post: 05-28-2008, 04:47 PM
  7. How to compare 2 lists?
    By blurtoad in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-09-2007, 10:02 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