+ Reply to Thread
Results 1 to 10 of 10

Copy Rows With Duplicate Detials Into Another Sheet

  1. #1
    Registered User
    Join Date
    07-01-2012
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    7

    Copy Rows With Duplicate Detials Into Another Sheet

    Hi all,
    I need a macro that will copy the entire row of a sheet to another sheet if the information in column E is duplicated anywhere else in column E. I've tried to find one on here but can only find macros which will delete the whole row, which is not good for me as i need the duplicates to be identified. I also tried making one myself but could only get it to copy one of the duplicate rows to the other sheet, which is no good for me as I need both instances where there is a duplicate to be identified.

    Any help much appreciated.

  2. #2
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,520

    Re: Copy Rows With Duplicate Detials Into Another Sheet

    If you can upload your workbook it would be better for us to help you
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

  3. #3
    Registered User
    Join Date
    07-01-2012
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Copy Rows With Duplicate Detials Into Another Sheet

    Here it is.
    I need it to check for duplicates in column E on the details tab and place duplicates in the duplicates tab.
    Attached Files Attached Files

  4. #4
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,520

    Re: Copy Rows With Duplicate Detials Into Another Sheet

    I only see hearders?? No header for column E. Are there only 5 columns?

  5. #5
    Registered User
    Join Date
    07-01-2012
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Copy Rows With Duplicate Detials Into Another Sheet

    Yes I had to delete the data as its confidential. Column e is acc no and sort code combined. I need to check this for duplicates. Only 5 columns yes.

  6. #6
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,520

    Re: Copy Rows With Duplicate Detials Into Another Sheet

    You have a formula in column E in your example is that how you real workbook is?

  7. #7
    Registered User
    Join Date
    07-01-2012
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Copy Rows With Duplicate Detials Into Another Sheet

    Yes that joins account details and sort code together so you only need check one column for duplicates

  8. #8
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,520

    Re: Copy Rows With Duplicate Detials Into Another Sheet

    Give this a shot

    Please Login or Register  to view this content.
    Last edited by mike7952; 10-07-2012 at 10:11 AM.

  9. #9
    Registered User
    Join Date
    07-01-2012
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Copy Rows With Duplicate Detials Into Another Sheet

    Works a charm.
    Thanks whoever you are.

  10. #10
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: Copy Rows With Duplicate Detials Into Another Sheet

    @MrMann35, if your problem is resolved then please mark the thread as solved. Also you can thank @mike7952 by clicking on the star below his posts.

    Good luck.

    abousetta
    Please consider:

    Thanking those who helped you. Click the star icon in the lower left part of the contributor's post and add Reputation.
    Cleaning up when you're done. Mark your thread [SOLVED] if you received your answer.

+ 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