+ Reply to Thread
Results 1 to 5 of 5

Removing empty rows from a set of data - Need some help please!

  1. #1
    Registered User
    Join Date
    03-30-2012
    Location
    Tamworth, EN
    MS-Off Ver
    Excel 2007?
    Posts
    14

    Removing empty rows from a set of data - Need some help please!

    Hi guys, I need some help removing empty rows from my set of data.

    I have a big set of data that I'm copying and pasting into excel. When I paste it there are 2 empty rows between each line of data. I want to remove these empty rows, without affecting the data. I tried 'Go to special...' and deleting all empty cells and stuff but I couldn't get it to work. The problem is that there are blank cells in some of the rows that I want to keep. When I try to remove the blank rows, I also end up removing rows of data that I want to keep.

    I've made an example for you to try and explain it better - attached.

    If you could help me remove all of the rows that are completely empty, but leave any row that has any data in it (at any point), that would be awesome!

    Thanks in advance, Dave
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    02-09-2012
    Location
    Mauritius
    MS-Off Ver
    Excel 2007
    Posts
    1,055

    Re: Removing empty rows from a set of data - Need some help please!

    Hi Dave.

    Just wanted to know if col A will be empty in any stage?
    Click *, if my suggestion helps you. Have a good day!!

  3. #3
    Registered User
    Join Date
    03-30-2012
    Location
    Tamworth, EN
    MS-Off Ver
    Excel 2007?
    Posts
    14

    Re: Removing empty rows from a set of data - Need some help please!

    col A is not empty for any row that we want to keep. it's of course empty for all of the rows that I want to delete.

  4. #4
    Valued Forum Contributor
    Join Date
    02-09-2012
    Location
    Mauritius
    MS-Off Ver
    Excel 2007
    Posts
    1,055

    Re: Removing empty rows from a set of data - Need some help please!

    Try this code:

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    03-30-2012
    Location
    Tamworth, EN
    MS-Off Ver
    Excel 2007?
    Posts
    14

    Re: Removing empty rows from a set of data - Need some help please!

    Thank you very much. Works perfectly on the test document, can't check it on the real thing right now, but I won't bother bumping the thread again unless I have any problems.

    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