+ Reply to Thread
Results 1 to 4 of 4

Finding/counting one list in another

  1. #1
    Registered User
    Join Date
    07-29-2020
    Location
    AUSTRIA
    MS-Off Ver
    2016
    Posts
    2

    Question Finding/counting one list in another

    Hey

    I was wondering if I can somehow count how often a word in one list is found in anotherone?
    Also I have two lists the first one is short, the second one is long, what I want: is to count how often a word from the short list match with words out of the long list.

    table1
    Word1,Word2,Word3

    table2
    Word1,Word4

    I want to know if a word out of table2 is also in table1.


    Thanks for help

  2. #2
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Finding/counting one list in another

    If every word is in a single cell then =countif(list2,word from list1)
    If multiple words in cells, then =SUMPRODUCT(LEN(list2)-LEN(SUBSTITUTE(list2,word from list 1,"")))/LEN(word from list 1)
    list2=the long one
    list1=the short one
    Click the * to say thanks.

  3. #3
    Registered User
    Join Date
    07-29-2020
    Location
    AUSTRIA
    MS-Off Ver
    2016
    Posts
    2

    Re: Finding/counting one list in another

    Thanks thats working !
    But the problem is my list1 is about 700 words and my list2 about 5000.
    Is ther a way that the words from list1 are automatically filled into your command?

  4. #4
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Finding/counting one list in another

    Not sure what you mean. Something like this?
    =countif(a1, H:H) where a1 is first word and H column is for list 2?
    And drag it down

+ 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/counting one list in another
    By KS_ich_weiß_nicht in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 07-29-2020, 03:53 AM
  2. Need help! counting and finding duplicates
    By velocitygraphix in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-03-2014, 04:02 PM
  3. Counting or finding formula
    By hopkins199 in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 12-15-2013, 10:09 PM
  4. [SOLVED] Finding MIN and MAX by counting dates for a list of variables
    By Seaplane Jack in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-13-2012, 02:46 PM
  5. Finding duplicates and Counting
    By thesoju in forum Excel General
    Replies: 1
    Last Post: 06-17-2011, 04:07 PM
  6. Finding and Counting the same value?
    By aidan80 in forum Excel General
    Replies: 2
    Last Post: 02-05-2009, 11:33 PM
  7. Finding/counting a given character within a cell
    By Bob in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-06-2006, 10:45 AM

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