Feb
19
2010
19
2010
Excel Tip- Deleting Multiple Rows
A colleague asked me how to delete every second row of data in an Excel spreadsheet that contains thousands of rows. Manual deletion in this case (holding the CTRL key on a PC) while selecting every second row would take too long.
A quick search turned up this tip in the Excel Forum.
- Insert a “helper” column to the left of the first column.
- Enter this formula: =mod(row(),2)
- Copy down the formula to the end of the data rows. A column with ones and zeros should appear.
- Use the Filter to filter all of the data and select the value that you don’t want.
- Delete all the rows with that value.
- Clear the Filter.
- Delete the “helper” column.
Hope this helps someone!
Leave a comment
Archives
- January 2012
- October 2011
- June 2011
- May 2011
- April 2011
- March 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- August 2008
- July 2008
- May 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007

An article by




