+ Reply to Thread
Results 1 to 3 of 3

Saving duplicate entries occurring X number of times

  1. #1
    Registered User
    Join Date
    01-31-2012
    Location
    Hanover, NH, USA
    MS-Off Ver
    Excel 2007, 2010
    Posts
    6

    Saving duplicate entries occurring X number of times

    Hi all,

    I am trying to save duplicate entries that occur a specified number of times. Here is the sample table:

    1
    1
    1
    1
    2
    2
    2
    4
    4
    4
    4
    3

    I am trying to save only entries occurring 4 times and get the following result:

    1
    4

    Thank you for your help,

    vmartyan
    Last edited by vmartyan; 03-15-2012 at 12:13 PM.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,578

    Re: Saving duplicate entries occurring X number of times

    Method 1
    In the next column, (assuming data in A1:A60)
    =COUNTIF($A$1:$A$60,A1)
    Then filter on values less than 4 and delete those rows
    Then Data Tab> Remove duplicates

    Method 2
    Select data (A1:A60), Conditionally Format> new rule> Use formula
    =COUNTIF($A$1:$A$60,A1)<4
    format as blue background (for example) and custom sort or filter by cell color
    Then Data Tab> Remove duplicates
    Either of these work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    01-31-2012
    Location
    Hanover, NH, USA
    MS-Off Ver
    Excel 2007, 2010
    Posts
    6

    Re: Saving duplicate entries occurring X number of times

    Hi ChemistB,

    They both work great!

    Thanks a lot for quick help,

    vmartyan

+ 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