Results 1 to 20 of 20

Removing empty rows from a range without changing worksheet layout

Threaded View

  1. #1
    Forum Contributor
    Join Date
    09-28-2017
    Location
    UK
    MS-Off Ver
    2016
    Posts
    144

    Removing empty rows from a range without changing worksheet layout

    Hi everyone,

    I have a range within a complex worksheet, which displays rows of data spanning 7 columns ('C' to 'I') and 17 rows ('6' to '22').

    This range is surrounded by other cells containing data which is irrelevant to the question, aside from the fact that its location and structure needs to be maintained.

    In any given row, cells 'C' to 'H' will either all contain data or all be blank.

    Cell 'I' would never contain data if 'C' to 'H' are blank, but cell 'I' may or may not contain data if cells 'C' to 'H' are populated.

    As an example, let's say I have data in rows 6, 7, 8, 10 and 12. I need to find a way to remove rows 9 and 11 so that the populated rows are consecutive without any blank rows in between. I also need to maintain the structure of rows 23 and above, AND I cannot delete anything in columns 'J' and above so the solution must not delete entire rows from the worksheet.

    An example is attached. This has been frustrating me for hours!! Any input would be massively appreciated.

    Regards

    Andy
    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] Removing rows which are empty
    By lovinguy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-26-2015, 05:56 AM
  2. [SOLVED] Removing empty rows from a set of data - Need some help please!
    By mxoxossg in forum Excel General
    Replies: 4
    Last Post: 01-24-2013, 10:06 AM
  3. Removing Empty Rows On Multiple Sheets With Different Ranges
    By zebra4 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-02-2012, 05:40 PM
  4. Removing empty rows
    By sentinela in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-03-2010, 11:10 AM
  5. Removing empty rows with a macro
    By Mikie in forum Excel General
    Replies: 8
    Last Post: 10-12-2009, 06:15 PM
  6. Removing empty rows?
    By frenchman96 in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 09-24-2007, 11:42 AM
  7. Removing Empty Rows and selecting Specific Rows
    By Jetheat in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-11-2005, 07:10 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