+ Reply to Thread
Results 1 to 2 of 2

delete three columns of two grouped columns according to common value of two column

  1. #1
    Registered User
    Join Date
    03-11-2015
    Location
    iran
    MS-Off Ver
    2007
    Posts
    2

    delete three columns of two grouped columns according to common value of two column

    I have 2 sets of three grouped columns in one worksheet. This stretches for 30000 rows. Sample data is below:
    1 11 100 1 11 1000
    2 12 200 2 200 2000
    3 13 300 3 13 3000
    4 14 400 4 400 4000


    i want a macro Do like this code :
    Code:
    when (old seial)=(new serial) then delete (new code) AND (new serial) AND(new amount)
    table after algorithm is below :
    1 11 100 4 400 4000
    2 12 200 2 200 2000
    3 13 300
    4 14 400

  2. #2
    Forum Contributor
    Join Date
    08-15-2012
    Location
    Australia
    MS-Off Ver
    Excel 2016
    Posts
    349

    Re: delete three columns of two grouped columns according to common value of two column

    Cross-post;http://www.mrexcel.com/forum/excel-q...wo-column.html
    Read this;http://www.excelguru.ca/content.php?184
    Please click the * Add Reputation if this helps
    If solved remember to mark Thread as solved

    "I'm glad to help and this is not meant to sound smart, but either you have super-human vision to see all those controls cleared one by one with the code I posted, or your computer is really slow."

+ 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. Updating two grouped of columns according to one common columns
    By shahram_pc in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-11-2015, 06:50 PM
  2. Replies: 2
    Last Post: 01-10-2014, 09:30 PM
  3. Replies: 12
    Last Post: 01-10-2014, 07:29 AM
  4. How to find common string column from two columns??
    By sanil.henry1982 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-14-2012, 08:34 AM
  5. Filter a Column by Another Columns Value (Grouped)
    By Pete O in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-28-2008, 07:17 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