+ Reply to Thread
Results 1 to 8 of 8

Counting the number of times a cell is duplicated

  1. #1
    Registered User
    Join Date
    11-23-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    56

    Cool Counting the number of times a cell is duplicated

    I have a very large data base of properties in my county that has all the details of each property including the owners address. I want to be able to count how many times the same address shows up in a certain column and put that number into another column. How do I do that? See example below

    EXISTING COLUMN________NEW COLUMN
    1 BOW ST__________________1___________DELETE ROW
    1 BRITANNY CRESCENT_______1___________DELETE ROW
    1 BROADVIEW TER___________1___________DELETE ROW
    1 BROCKHURST CLOSE________2___________DELETE ROW
    1 BROCKHURST CLOSE________2___________DELETE ROW
    1 CALLE DOS________________5 __________KEEP ROW
    1 CALLE DOS________________5 __________KEEP ROW
    1 CALLE DOS________________5 __________KEEP ROW
    1 CALLE DOS________________5 __________KEEP ROW
    1 CALLE DOS________________5 __________KEEP ROW

    But I only want to keep any that are 5 or more. I want to automatically delete any rows below 5. How do I do that?
    Last edited by profitdr123; 09-09-2014 at 11:57 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Re: Counting the number of times a cell is duplicated

    Assuming the addresses are in column A try this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Drag it down to the end of your data.

    In the column you have just created, filter on numbers less than 5 and delete those rows. Once you unfilter you will only have those with 5 or more.
    Please add reputation by clicking on the * if I have helped.
    Please mark the thread SOLVED if your issue has been resolved.
    Thanks, Glenn.

  3. #3
    Registered User
    Join Date
    11-23-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    56

    Re: Counting the number of times a cell is duplicated

    THE COUNT formula worked great. Thanks. But is there a way to program it to delete the rows that is not 5 or more. There is alot of rows to do it manually.

    Also I want to be able to put two blank rows between the different addresses after I do the above work. How do I do that?

  4. #4
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Counting the number of times a cell is duplicated

    Hi,

    Check this it will be help full

    Punnam
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    11-23-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    56

    Re: Counting the number of times a cell is duplicated

    What is this. I makes no sense.

  6. #6
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Counting the number of times a cell is duplicated

    Quote Originally Posted by profitdr123 View Post
    What is this. I makes no sense.
    @ profitdr123 .
    There is no necessary of using the word "Sense" if the solution is not irrelevant to your question , you can inform me the same stating it was not helpful/Not matching/Not clear or something else.or still you can ask for explanation.
    It was an accident i have just misread your question .
    My solution will helps you remove the duplicate rows in your data.
    Punnam

  7. #7
    Registered User
    Join Date
    11-23-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    56

    Re: Counting the number of times a cell is duplicated

    This option does not address my original need.

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: Counting the number of times a cell is duplicated

    The data filter option described by gak67 is far from manual... But.

    Punnam may have mis-read your post - I think (from what you've said) that you want to keep the 5+ duplicates, not discard them. Most users want to get a unique list - not a list of duplicates....Is this any closer to what you want? Obviously, this can be adapted to return the duplicate values on another sheet.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

+ 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. Replies: 1
    Last Post: 11-19-2012, 04:16 PM
  2. Counting the number of times a text string occurs in a cell
    By Geoff1184 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-12-2012, 04:07 PM
  3. Replies: 3
    Last Post: 09-17-2012, 08:05 AM
  4. Counting number of times a cell reference appears in a 12 month period
    By Alistar3000 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-23-2010, 04:52 PM
  5. [SOLVED] Counting the number of times a specific character appears in a cell
    By PCLIVE in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-04-2005, 01:15 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