PC Review


Reply
Thread Tools Rate Thread

Delete Empty Rows

 
 
JCG
Guest
Posts: n/a
 
      17th Dec 2007
Greetings:

I have an excel spreadsheet consisting of 58,000 rows. Every other row is
empty and I would like to delete the empty rows.

Is there an easy way to do this...thanks in advance...j
--
Thanks in advance...j
 
Reply With Quote
 
 
 
 
Joel
Guest
Posts: n/a
 
      17th Dec 2007

Sub removerows()

LastRow = Range("A" & Rows.Count).End(xlUp).Row
For RowCount = (LastRow - 1) To 1 Step -2
Rows(RowCount).Delete
Next RowCount

End Sub
"JCG" wrote:

> Greetings:
>
> I have an excel spreadsheet consisting of 58,000 rows. Every other row is
> empty and I would like to delete the empty rows.
>
> Is there an easy way to do this...thanks in advance...j
> --
> Thanks in advance...j

 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      17th Dec 2007
Maybe you could just select the range and sort it by a key field.



JCG wrote:
>
> Greetings:
>
> I have an excel spreadsheet consisting of 58,000 rows. Every other row is
> empty and I would like to delete the empty rows.
>
> Is there an easy way to do this...thanks in advance...j
> --
> Thanks in advance...j


--

Dave Peterson
 
Reply With Quote
 
Gord Dibben
Guest
Posts: n/a
 
      17th Dec 2007
Select an entire column.

F5>Special>Blanks>OK

Edit>Delete>Entire Row


Gord Dibben MS Excel MVP

On Mon, 17 Dec 2007 08:33:00 -0800, JCG <(E-Mail Removed)> wrote:

>Greetings:
>
>I have an excel spreadsheet consisting of 58,000 rows. Every other row is
>empty and I would like to delete the empty rows.
>
>Is there an easy way to do this...thanks in advance...j


 
Reply With Quote
 
Suleman Peerzade
Guest
Posts: n/a
 
      18th Dec 2007
Hi,
Try this
1. Select the entire data
2. In the menu bar/Data/Sort
3. In the sort wizard you may type the order in which you desire to sort
your data. For eg. Name
4. The sort wizard will sort the data for you and there is no need of
deleting the blank rows you can further sort this data as per your
requirement.

--
Suleman Peerzade


"JCG" wrote:

> Greetings:
>
> I have an excel spreadsheet consisting of 58,000 rows. Every other row is
> empty and I would like to delete the empty rows.
>
> Is there an easy way to do this...thanks in advance...j
> --
> Thanks in advance...j

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hpw do I delete multiple empty rows found between filled rows? Bill Microsoft Excel Worksheet Functions 1 15th Nov 2009 12:52 AM
How to Delete empty rows in excel in b/w rows with values =?Utf-8?B?RGVubmlz?= Microsoft Excel Worksheet Functions 3 28th Aug 2007 04:15 PM
Cut filtered rows, paste into next empty row of new sheet, and delete cut rows Scott Microsoft Excel Worksheet Functions 0 13th Dec 2006 01:25 AM
Delete Rows with Empty Cells with empty column 1 Scott Microsoft Excel Programming 6 2nd Oct 2006 11:57 PM
delete empty rows between rows with text =?Utf-8?B?UGF1bG8gQmFwdGlzdGE=?= Microsoft Excel Misc 2 28th Feb 2005 03:41 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:29 PM.