Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Senior Member
 
Posts: 118
Default how to delete some rows without data which comes in between rows with data

i have a worksheet in which there are data in some rows say in every fifth or sixth rows. the in between rows are blank. now i want to delete those blank rows. how can i accomplish this task in a single step?
  #2   Report Post  
Senior Member
 
Posts: 663
Default

Quote:
Originally Posted by sumesh56 View Post
i have a worksheet in which there are data in some rows say in every fifth or sixth rows. the in between rows are blank. now i want to delete those blank rows. how can i accomplish this task in a single step?
I'm sure there are more elegant ways, but for a quick and dirt method...

In a blank column to the right of your data put in a =COUNTA() formula.

If for example your data was in colums A to E, and headers in row 1, go to cell F2 and enter =COUNTA(A2:E2). Copy that formula down to the last populated row of data, apply an autofilter to row A and restrict column F to zero.

These will be your blank rows. You can then highlight and delete these rows only.

Not the best way I'm sure, but quick and easy.

S.
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,522
Default how to delete some rows without data which comes in between rowswith data

On Sunday, April 1, 2012 2:58:28 AM UTC-5, sumesh56 wrote:
i have a worksheet in which there are data in some rows say in every
fifth or sixth rows. the in between rows are blank. now i want to delete
those blank rows. how can i accomplish this task in a single step?




--
sumesh56


Select the columnf5special cellsblankseditdelete
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 621
Default how to delete some rows without data which comes in between rows with data

Select a column then F5SpecialBlanksOK

EditDeleteEntire Rows


Gord

On Sun, 1 Apr 2012 07:58:28 +0000, sumesh56
wrote:


i have a worksheet in which there are data in some rows say in every
fifth or sixth rows. the in between rows are blank. now i want to delete
those blank rows. how can i accomplish this task in a single step?

  #5   Report Post  
Senior Member
 
Posts: 118
Default

Quote:
Originally Posted by Gord Dibben[_2_] View Post
Select a column then F5SpecialBlanksOK

EditDeleteEntire Rows


Gord

On Sun, 1 Apr 2012 07:58:28 +0000, sumesh56
wrote:


i have a worksheet in which there are data in some rows say in every
fifth or sixth rows. the in between rows are blank. now i want to delete
those blank rows. how can i accomplish this task in a single step?
thanks all for the suggestions
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
delete rows if data is either aileen Excel Programming 3 October 8th 08 08:26 PM
Delete rows with data AmyLynn9156 Excel Programming 3 July 10th 07 09:32 PM
How do I delete blank rows (rows alternate data, blank, data, etc ncochrax Excel Discussion (Misc queries) 2 June 27th 07 04:40 AM
Delete rows with no data Mindie Setting up and Configuration of Excel 1 November 30th 05 09:24 PM
Delete certain rows of data... RMJ Excel Programming 3 January 26th 04 08:30 AM


All times are GMT +1. The time now is 10:49 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"