+ Reply to Thread
Results 1 to 3 of 3

Macro to delete only certain rows

  1. #1
    Forum Contributor
    Join Date
    04-06-2009
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    103

    Macro to delete only certain rows

    Hi there

    I have a list of accounts in column a and a value in column b.
    the account in column can appear once or multiple times. I am trying to create a macro to keep only the LAST row of each account.

    I've attached a sheet to explain in more detail

    Any help would be great!
    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Macro to delete only certain rows

    Do you need a macro ? If not enter =IF(A2<>A3,A2,"") in D2 and pull down as needed

  3. #3
    Forum Contributor
    Join Date
    04-06-2009
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    103

    Re: Macro to delete only certain rows

    Thanks for that!
    I'll try to record it as a macro and filter the blanks and remove

    Thanks again

+ 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