+ Reply to Thread
Results 1 to 2 of 2

Macro required for deleting entire row based on whether there is any data in some cells

  1. #1
    Registered User
    Join Date
    11-06-2012
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2010
    Posts
    1

    Question Macro required for deleting entire row based on whether there is any data in some cells

    Hello Experts,

    I am very very new to Excel macros. I want your assistance to create a macro which will delete the entire row if Cells A, B and C in an entire column of about 20000 rows is empty.
    For example, if A1 is empty, B1 has something and C1 is empty, then it should not delete the row
    But if A2 is empty, B2 is empty and C2 is empty, then the row should be deleted.

    ie in the entire sheet, if the consequetive cells in columns A, B and C are empty, then the entire Row should be deleted.

    Appreciate your quick assistance in this matter. Incase you need the entire excel sheet to be attached, I would be glad to do so.

    Thanks and best regards,
    Bala

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Macro required for deleting entire row based on whether there is any data in some cell

    Test this on a copy of your data. It assumes row 1 is a header row.

    Please Login or Register  to view this content.

+ 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