English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

how to delete alternate rows in ms excel?

I've got 10000 rows....deleting it manually will take time...

2007-04-27 03:52:44 · 3 answers · asked by Anonymous in Computers & Internet Software

3 answers

What is in these alternate rows? Are they blank?

If they are blank, you could sort your file on a field which is filled on every applicable row of a particular column (like Lastname).

All the blank rows, with no data in that field would go to the end of file where you could select and delete them.

If, however, you have some sort of data in the alternate rows, you are stuck - unless they contain a unique piece of data on which you could sort.

2007-04-27 04:33:10 · answer #1 · answered by TheHumbleOne 7 · 1 0

Sub DeleteEmptyRows() Dim Counter Dim i As Integer selection("A1").elect Counter = InputBox("enter the finished form of rows to technique") ActiveCell.elect For i = a million To Counter If ActiveCell = "" Then determination.EntireRow.Delete Counter = Counter - a million Else ActiveCell.Offset(a million, 0).elect end If next i end Sub

2016-12-10 12:54:11 · answer #2 · answered by louthan 4 · 0 0

In Excel choose the Letter ie) E and it highlights the whole row of contents in E. now if you hold your shift key down and select all letter ie) EFG, Right click Clear Contents.

2007-04-27 04:06:04 · answer #3 · answered by Island Girl 5 · 0 0

fedest.com, questions and answers