+ Reply to Thread
Results 1 to 8 of 8

Need Excel Macro or Formula for finding duplicated cells more than X times

  1. #1
    Registered User
    Join Date
    08-25-2014
    Location
    Cyprus
    MS-Off Ver
    2013
    Posts
    3

    Need Excel Macro or Formula for finding duplicated cells more than X times

    Need Excel Macro or Formula for finding duplicated cells more than 5 times and copy them into new sheet.
    Can you please help me with that ?

    For Example;


    apple
    orange
    apple
    banana
    apricot
    apple
    orange
    apricot
    fruit
    lemon
    lime
    plum
    apple
    banana
    orange
    apple
    orange
    orange

    OUTPUT in new Sheet will be

    apple 5
    orange 5

  2. #2
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Need Excel Macro or Formula for finding duplicated cells more than X times

    assuming range is A1:a18

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    or

    if you want the whole column
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    08-25-2014
    Location
    Cyprus
    MS-Off Ver
    2013
    Posts
    3

    Re: Need Excel Macro or Formula for finding duplicated cells more than X times

    But what if I have 10000 records? and I want to calculate names automatically, its going to seperate automatically.
    =COUNTIF(A:A,"orange") find only orange, what about others ?

  4. #4
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Need Excel Macro or Formula for finding duplicated cells more than X times

    either make your range to be 10000 or do the whole column
    the other fruit you will need to either refer to list of fruits in cells or type out the names themselves

  5. #5
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Need Excel Macro or Formula for finding duplicated cells more than X times

    if you want more advanced naming
    you will need some sort of CSE formula to create a unique list
    see attached example
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    08-25-2014
    Location
    Cyprus
    MS-Off Ver
    2013
    Posts
    3

    Re: Need Excel Macro or Formula for finding duplicated cells more than X times

    Seems perfect, addition to this, cant we make list only repeated items more than 5 times ? This is counting 1 by 1

  7. #7
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Need Excel Macro or Formula for finding duplicated cells more than X times

    cannot see how to achieve this without a much more complex formula or helper column

    i am unable to figure out more complex formula for counts > 5

    solution with helper column attached
    Attached Files Attached Files
    Last edited by humdingaling; 08-25-2014 at 10:09 PM.

  8. #8
    Valued Forum Contributor
    Join Date
    03-21-2013
    Location
    cyberia
    MS-Off Ver
    Excel 2007
    Posts
    457

    Re: Need Excel Macro or Formula for finding duplicated cells more than X times

    try
    Please Login or Register  to view this content.

+ 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] selection of how many times to be duplicated
    By Megatronixs in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-18-2013, 03:04 AM
  2. Creating a Macro, finding channel times
    By Gamerxx13 in forum Excel Programming / VBA / Macros
    Replies: 25
    Last Post: 03-11-2013, 01:12 PM
  3. I need to count how many times a name is duplicated?
    By aw73 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-17-2013, 06:38 AM
  4. Replies: 1
    Last Post: 11-19-2012, 04:16 PM
  5. Removing Duplicated Cells Macro
    By jfish in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-01-2011, 04:35 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