+ Reply to Thread
Results 1 to 6 of 6

Number of occurence of every value in one column, in another column

  1. #1
    Forum Contributor
    Join Date
    04-04-2013
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    204

    Number of occurence of every value in one column, in another column

    Hi All,

    I have one worksheet with two columns A & B.

    ColA has nearly 7000 cells. Each cell contains text data of variable length.
    ColB has nearly 8500 cells. Each cell contains key text data that has at least 2 strings up to 24.

    As I'm sealing a tedious analysis task, I need to return the number of occurences of each value of every cell in ColB from the entire ColA, and return the total in its adjacent ColC cell.

    Can I get some precious assistance with this question, please?

    Always .. many thanks in advance ..

    T.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,857

    Re: Number of occurence of every value in one column, in another column

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,162

    Re: Number of occurence of every value in one column, in another column

    Perhaps...
    Please Login or Register  to view this content.
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  4. #4
    Forum Contributor
    Join Date
    04-04-2013
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    204

    Re: Number of occurence of every value in one column, in another column

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook
    Thanks Alansidman. Example attached as requested.
    Very much appreciated.

    T.
    Attached Files Attached Files

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,410

    Re: Number of occurence of every value in one column, in another column

    In C2 copied down:

    =COUNTIF($A$1:$A$94,"*"&B1&"*")
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  6. #6
    Forum Contributor
    Join Date
    04-04-2013
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    204

    Re: Number of occurence of every value in one column, in another column

    Definitely YES AliGW. Your formula did the trick, really marvellous.
    Thank you very much for such valuable, easy powerful solution.
    I'm glad to mark this question as answered by you AliGW.

    All the best.

    T.

+ 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. Nth Occurence VBA returning specific column
    By excelnewbie3 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-07-2015, 12:32 PM
  2. Replies: 2
    Last Post: 10-10-2013, 11:09 AM
  3. [SOLVED] Find the second to the last occurence of a value in a column with multiple criteria
    By queenamidala in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-07-2013, 03:41 AM
  4. vlookup with multiple occurence in column
    By Trickle in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 05-11-2013, 04:12 PM
  5. [SOLVED] Row number of Nth occurence in a column
    By par0016 in forum Excel General
    Replies: 3
    Last Post: 06-08-2012, 10:35 AM
  6. Replies: 7
    Last Post: 04-18-2011, 11:16 AM
  7. occurence /count of a cell value in a column/range
    By ankurzvohra in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-18-2008, 12:59 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