+ Reply to Thread
Results 1 to 5 of 5

Identifying frequency of records

  1. #1
    Registered User
    Join Date
    10-12-2020
    Location
    London England
    MS-Off Ver
    2019
    Posts
    8

    Identifying frequency of records

    I have a database in Excel 2019 which includes a column of 2000+ cells. Each cell either contains

    a statement using the words Not Known or Broadcast Recording or No Choir or
    from 1 upto 100 names.

    A name will only appear once in a cell but may appear in several cells. The format for each name is John Smith, June Smith, etc each individual's family name being followed by a comma and a single space with the final/only name in the cell not having a comma after it. All appear in one column and on one worksheet and are listed in the cell in alphabetical order derived from the family name.

    I have attached a sample for guidance using edited names showing as is and as should be.

    What I would like to produce in another worksheet is a list of the names in alphabetical order by the family name in one column with in the adjoining column a total of the number of appearances of that name in the original list. I suspect that there may be around 1500 individuals involved some of whom may appear upto 1700 times in the column. So essentially, what I envisage is

    identifying the first name in the first cell in the column
    using it as the subject of a search through all the other cells in the column
    calculating the number of times it has been encountered
    inserting the name and the number of appearances in a new worksheet
    identifying the second name in the first cell in the column and following through the same process until all the records in the first cell are exhausted
    moving to the second cell and now checking that the name has not been encountered before, ignoring it if it has and processing it if it has been encountered ...and so on until all cells and names have been processed.

    Very grateful for any ideas as to how this could be achieved or alternative methods
    Attached Files Attached Files

  2. #2
    Forum Expert CheeseSandwich's Avatar
    Join Date
    12-22-2021
    Location
    Kent, England
    MS-Off Ver
    365 - 2404-17531.20128
    Posts
    1,362

    Re: Identifying frequency of records

    Hi Jasper,

    Below is my atempt, although it wont like it if some of the names have a middle name:

    Please Login or Register  to view this content.
    Hope this helps

  3. #3
    Forum Expert CheeseSandwich's Avatar
    Join Date
    12-22-2021
    Location
    Kent, England
    MS-Off Ver
    365 - 2404-17531.20128
    Posts
    1,362

    Re: Identifying frequency of records

    Another method might be:

    Please Login or Register  to view this content.
    This version modifies the raw data, the prvious one does not touch it.

  4. #4
    Registered User
    Join Date
    10-12-2020
    Location
    London England
    MS-Off Ver
    2019
    Posts
    8

    Re: Identifying frequency of records

    Thank you very much for both solutions = just what I have been trying to achieve for the last week or so! And so quickly too. Very grateful indeed

  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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,442

    Re: Identifying frequency of records

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.
    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.

+ 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] Identifying duplicate records
    By Shadmani in forum Excel General
    Replies: 2
    Last Post: 09-16-2016, 12:38 AM
  2. Identifying duplicates and their frequency
    By helpmeplz55 in forum Excel General
    Replies: 3
    Last Post: 10-12-2011, 06:14 PM
  3. Excel 2007 : Identifying Duplicate Records
    By markdtp in forum Excel General
    Replies: 1
    Last Post: 03-04-2011, 09:18 PM
  4. Identifying duplicate records
    By cobe170781 in forum Excel General
    Replies: 1
    Last Post: 09-18-2009, 06:29 PM
  5. Identifying frequency of names
    By haydskies in forum Excel General
    Replies: 6
    Last Post: 05-12-2009, 10:18 AM
  6. Identifying all records associated with combo box selection
    By hydrojoe11 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-05-2008, 03:08 PM
  7. [SOLVED] Systematically Identifying Duplicate Records
    By MWS in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-09-2006, 03:55 PM

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