+ Reply to Thread
Results 1 to 5 of 5

combine 2 worksheets and hide duplicates

  1. #1
    Registered User
    Join Date
    02-13-2015
    Location
    Oregon, USA
    MS-Off Ver
    2013
    Posts
    13

    combine 2 worksheets and hide duplicates

    I am working with 2 well developed worksheets.I need to find the duplicate numbers in column A of both sheets and the create 2 additional worksheets, one with the Duplicate numbers and their coinciding information, and the other with the remaining data.

  2. #2
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: combine 2 worksheets and hide duplicates

    See if this will work for you
    Please Login or Register  to view this content.
    or did you want the duplicate numbers isolated?
    Last edited by JLGWhiz; 01-14-2016 at 04:14 PM.

  3. #3
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: combine 2 worksheets and hide duplicates

    If you want the two categories completely isolated, ie. Duplicates one sheet, non-duplicated items another sheet then
    Please Login or Register  to view this content.
    If you have a large file, this might take a while to run because of the loops. I tried to make it a fast as I knew how, but my knowledge is limited.

  4. #4
    Registered User
    Join Date
    02-13-2015
    Location
    Oregon, USA
    MS-Off Ver
    2013
    Posts
    13

    Re: combine 2 worksheets and hide duplicates

    JLG thank you for the response, however, i am unsure how to go about executing the formulas you are referring to. can you please explain? Thank you, Nicole

  5. #5
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: combine 2 worksheets and hide duplicates

    A formula is entered directly into a cell on a worksheet by using the equal (=) sign. These are macros, also referred to as Sub procedures, written in Visual Basic for Applications (VBA). To use these particular procedures, in the host workbook, you would open the Visual Basic Editor (VBE) by pressing Alt + F11. If the screen is dark, click 'Insert' on the VBE tool bar, then click 'Module'. The large pane should then brighten. Copy the code to the large pane. The host workbook is the one from which you want to run the procedure, in this case the same one that contains the worksheet with your data. But since there are deletions involved in the procedure, I am not sure that you should try to use these procedures with your level of expertise. I was of the initial impression that you understood the use of macros.

    To use macros, your system must have the proper security setting and in your trust center, you must check the box for 'Trust access to the VBA project object model'. The workbook hosting the macro must be a macro enbled workbook, .xslm. So there is a lot more to using macros than just copying one to your file.

    But I don't know how you would do what you want to do without using a macro, except to do it manually.

    One other thing, if you do start using macros, be sure you test them on a copy or mock up of your file before running them on the original file. Many files have been totally wiped out by running a bad macro without first testing it.
    Last edited by JLGWhiz; 01-14-2016 at 09:16 PM.

+ 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. Combine Near-Duplicates
    By Moggeth in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-21-2015, 03:28 AM
  2. [SOLVED] Using Combine macro to combine multiple worksheets - need to modify to paste formulas
    By DLSmith in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-26-2012, 09:07 AM
  3. Replies: 6
    Last Post: 08-31-2011, 10:00 AM
  4. Excel 2007 : Combine information for duplicates
    By Hayden.hr in forum Excel General
    Replies: 1
    Last Post: 10-06-2010, 02:12 PM
  5. Replies: 1
    Last Post: 07-13-2010, 10:09 AM
  6. Replies: 4
    Last Post: 12-04-2007, 03:08 PM
  7. [SOLVED] combine row and the delete duplicates
    By bamamike in forum Excel General
    Replies: 2
    Last Post: 09-20-2005, 12:05 PM

Tags for this Thread

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