Results 1 to 6 of 6

delete duplicated rows based on a criteria in another column

Threaded View

  1. #1
    Forum Contributor
    Join Date
    06-24-2013
    Location
    philippines
    MS-Off Ver
    Excel 2007
    Posts
    199

    delete duplicated rows based on a criteria in another column

    hi i need a macro that will delete all duplicated data in column A AND is blank in column F and then add the data in column AB..


    Column A contains the order number...
    Colunm F contains reference number...
    Column AB contains number of pcs

    What I need is that when there are the same order number with blank reference number, the number of pieces will be added into one cell..

    confusing? i know.. in the attached is an example...

    in column A there is 8 rows with the same order number and column F is all blanks... what i need is just to create this in one line and column AB will be the total of the 8 rows.

    all these logic will be applied to all the same data in column A and with blank cells in column F. in my attached file there is a before and after sheet.. i have highlighted the outcome that i wanted.


    I hope somebody could help me on this
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] How to find and delete rows based on criteria within a given column
    By Student1990 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-10-2013, 02:35 PM
  2. Delete Multiple Rows Based on Criteria in 1 Column
    By Farmer12345 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-20-2013, 04:41 PM
  3. Delete Rows In Sheet 1 Based Off Of Criteria On Sheet 2 Column A
    By Pfafkl13 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 06-23-2011, 06:35 PM
  4. Delete Rows Based on Column Criteria
    By telnoman in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-22-2010, 09:31 AM
  5. Delete Rows based on criteria in Column A (not working)
    By Mslady in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-28-2005, 08:27 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