+ Reply to Thread
Results 1 to 11 of 11

Moving Duplicate data to a new sheet

  1. #1
    Registered User
    Join Date
    02-26-2010
    Location
    Nelson, Lancashire
    MS-Off Ver
    Excel 2003
    Posts
    6

    Moving Duplicate data to a new sheet

    Hi, I;ve joined to get some major help, as google for once has failed me, or I have missed something,

    Basically I got a column of random numbers in Sheet A, in Sheet B, I need a formulae which would look at Column A in the Sheet A and copy or move across all the numbers which appear three or more times in Column A in Sheet A?

    I have linked a test spreadsheet. Any help would be excellent, I just cant seem to work it out at all.
    Attached Files Attached Files
    Last edited by Saj127; 02-26-2010 at 06:31 PM.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Moving Duplicate data to a new sheet

    probably best if you attach your file here ,use the paper clip icon in advanced to upload. it's not a good idea to give URLs to possible dodgy sites. even tho rapid share is prob OK at the moment its not letting any free downloads
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    02-26-2010
    Location
    Nelson, Lancashire
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Moving Duplicate data to a new sheet

    Quote Originally Posted by martindwilson View Post
    probably best if you attach your file here ,use the paper clip icon in advanced to upload. it's not a good idea to give URLs to possible dodgy sites. even tho rapid share is prob OK at the moment its not letting any free downloads
    done ! thanks, could do with help !

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Moving Duplicate data to a new sheet

    one way ,helper col on first sheet
    or you could just put in b4 =COUNTIF($A$4:A4,A4)=3
    drag down
    then filter on true and copy paste to another sheet
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    02-26-2010
    Location
    Nelson, Lancashire
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Moving Duplicate data to a new sheet

    Quote Originally Posted by martindwilson View Post
    one way ,helper col on first sheet
    or you could just put in b4 =COUNTIF($A$4:A4,A4)=3
    drag down
    then filter on true and copy paste to another sheet
    yh cool, i managed to get that far, is there no where, where it would just move it along or copy the data dupes itself? instead of having to filter and paste?

    I dont have the problem doing that as it would take me seconds, however other non-literant computer users will be using it, and the less procress i have the harder to break

  6. #6
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: Moving Duplicate data to a new sheet

    maybe
    Please Login or Register  to view this content.
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

  7. #7
    Registered User
    Join Date
    02-26-2010
    Location
    Nelson, Lancashire
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Moving Duplicate data to a new sheet

    Quote Originally Posted by pike View Post
    maybe
    Please Login or Register  to view this content.
    sorry how do I use this?

  8. #8
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: Moving Duplicate data to a new sheet

    all the pros approach/solutions are with excels functions - the are faster and efficent
    vba is just if you cant find a suitable excel solution .. if your list are too long functions may be the way to go

    but try...
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    02-26-2010
    Location
    Nelson, Lancashire
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Moving Duplicate data to a new sheet

    Quote Originally Posted by pike View Post
    all the pros approach/solutions are with excels functions - the are faster and efficent
    vba is just if you cant find a suitable excel solution .. if your list are too long functions may be the way to go

    but try...
    that is perfect ! works like a treat, how do I edit that further? only can click on it.

    I would I get that onto another sheet?

  10. #10
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: Moving Duplicate data to a new sheet

    hi
    Press "Alt" plus "F11" to show the module code and change the worksheet names

  11. #11
    Registered User
    Join Date
    04-23-2012
    Location
    Portsmouth
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: Moving Duplicate data to a new sheet

    Hi,

    I Stumbled across this Thread while trying to find a solution to move duplicates to another worksheet, I used the "test" file and it works perfectly for copying duplicates to another sheet, but i have a couple of other changes I need & I cant figure it out anywhere!

    Firstly I need to be able to actually move the duplicates in the orignal data to the relevant sheets, with the data in the column next to it (expanding the selection as commonly known in excel) The reason for this is because if i have experted a massive database table, i want to keep the original database ID for each item (which is in the column next to the data that could contain duplicates) that way i can easily delete the duplicates in the database by the ID that's been copied to the relevant worksheet....I know you may be thinking, why don't I just run a Query in Access for this, but I'm a complete novice to access, and I would rather just do it in excel for now!

    I have uploaded the Test file with a few changes i made so you can see what i'm trying to do, if someone could help me and make the relevant modifcations to the code to actually "move" not "copy" the numbers (along with the data in the aligning column" that would be brilliant! Thanks so much

    David
    Attached Files Attached Files

+ 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