+ Reply to Thread
Results 1 to 5 of 5

Deleting Duplicate Row as per the column status

  1. #1
    Forum Contributor daksh1981's Avatar
    Join Date
    04-15-2009
    Location
    India
    MS-Off Ver
    2003 & 2007
    Posts
    110

    Unhappy Deleting Duplicate Row as per the column status

    Please help me on this. I have two sheets “Day Log” and “Pend Case”, please find the attached sheet for reference. After my day’s work finishes I push all my cases into “Pend Case” sheet so that I can pull these cases next day. My VBA code for Push & Pull Cases are working fine but I have stuck in below:
    I want that when I click on “Pull Case” button, it should first look for duplicate case values in the list “B2:B12” in “Pend Case” sheet & then it should delete all duplicate cases who has Case Status as New Case.
    Attached Files Attached Files
    Last edited by daksh1981; 08-12-2009 at 01:44 PM.

  2. #2
    Forum Contributor daksh1981's Avatar
    Join Date
    04-15-2009
    Location
    India
    MS-Off Ver
    2003 & 2007
    Posts
    110

    Unhappy Re: Deleting Duplicate Row as per the column status. (Please help its urgent)........

    In addition to the above scenario. I want that VBA code should only retain the Last "Follow Up" occurance only. like:

    Case Number Case Status
    C-121 New Case
    C-124 New Case
    C-125 New Case
    C-121 Follow Up
    C-121 Follow Up

    In the above scenario I want that only the last occurance of Case Number C-121 should retain & all above occurance should be deleted.
    Last edited by daksh1981; 08-11-2009 at 06:32 AM. Reason: Still waiting for reply.............

  3. #3
    Forum Contributor daksh1981's Avatar
    Join Date
    04-15-2009
    Location
    India
    MS-Off Ver
    2003 & 2007
    Posts
    110

    Re: Deleting Duplicate Row as per the column status. (Still waiting for help)

    Hi, Any one please help me...

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Deleting Duplicate Row as per the column status. (Still waiting for help it's urg

    You could possibly use Advanced Filter -. Unique value & copy to another location. Finally delete the originals.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  5. #5
    Forum Contributor daksh1981's Avatar
    Join Date
    04-15-2009
    Location
    India
    MS-Off Ver
    2003 & 2007
    Posts
    110

    Re: Deleting Duplicate Row as per the column status

    I tried this also but could not able to do so. My problem is that I want to delete duplicate rows as per the value in two columns for example in my attached sheet: I want to delete all rows which has "Case Number" as "C-121" and "Case Status" as "New Case", I don't want to delete Case Number "C-121" & Case Status as "Pending Information from Landsafe". Same with other case numbers.
    Please help me out to crack this.

+ 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