+ Reply to Thread
Results 1 to 4 of 4

Finding Commonalities b/w 2 Columns

  1. #1
    Registered User
    Join Date
    04-14-2010
    Location
    Portland
    MS-Off Ver
    Excel 2010
    Posts
    10

    Finding Commonalities b/w 2 Columns

    Hello,

    I am attempting to create a formula that can tell me what percentage of text in Column B is the same as text in Column A.

    As an example (another example is in the attachment), if A1:A3 contained A, B, C, and B1:B4 contained B, C, D, E, then through the one or two formulas necessary, Excel would tell me that B and C are the commonalities and give me a 66.7% return (A&B commonalities divided by total A).

    Thank you for any suggestions/solutions!

    Albert
    Attached Files Attached Files
    Last edited by albert5445; 04-20-2010 at 03:34 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Finding Commonalities b/w 2 Columns

    Perhaps:

    =SUM(COUNTIF(A1:A7,B1:B6))/COUNTA(A1:A7)

    confirmed with CTRL+SHIFT+ENTER
    not just ENTER.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    04-14-2010
    Location
    Portland
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Finding Commonalities b/w 2 Columns

    I was trying to use vlookup and creating 1's and 0's for matches and non-matches... Your formula definitely simplifies. Thanks for the help!!

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Finding Commonalities b/w 2 Columns

    Please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ 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