+ Reply to Thread
Results 1 to 3 of 3

Delete Duplicates and adjacent two cells

  1. #1
    Registered User
    Join Date
    12-14-2010
    Location
    Texas,United Stated
    MS-Off Ver
    Excel 2007
    Posts
    63

    Delete Duplicates and adjacent two cells

    See attached worksheet. I need a macro that will loop through column A, find any duplicates, delete that cell and the cells next to it in columns B & C. (SHIFT CELLS UP) In the attached worksheet, the highlighted cells should be all that is left when the macro is complete.

    Thanks In advance,

    jbmerrel
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    10-10-2008
    Location
    Northeast Pennsylvania, USA
    MS-Off Ver
    Excel 2007
    Posts
    2,387

    Re: Delete Duplicates and adjacent two cells

    jbmerrel,

    I can not follow your logic.

    Can you post another workbook, with the raw data in columns A thru D, and the results you are looking for (manually formatted by you) in columns G thru J?
    Have a great day,
    Stan

    Windows 10, Excel 2007, on a PC.

    If you are satisfied with the solution(s) provided, please mark your thread as Solved by clicking EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

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

    Re: Delete Duplicates and adjacent two cells

    you can try this but im not sure if this is what you want

    Please Login or Register  to view this content.
    Thanks,
    Mike

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

+ 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