Written by Allen Wyatt (last updated April 27, 2020)
This tip applies to Excel 97, 2000, 2002, and 2003
When working with data retrieved from another source—such as another user or from an external program—you may have a need to remove certain rows from the data. It is not unusual, for instance, to have the need to remove every third row or every fifth row. The following general steps allow you to delete every X rows without using a macro.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2348) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Deleting Every X Rows without a Macro.
Excel Smarts for Beginners! Featuring the friendly and trusted For Dummies style, this popular guide shows beginners how to get up and running with Excel while also helping more experienced users get comfortable with the newest features. Check out Excel 2013 For Dummies today!
Got a list of data from which you want to delete duplicates? There are a couple of techniques you can use to get rid of ...
Discover MoreWant to delete a bunch of rows in a worksheet based on the value in a certain cell of each row? There are a couple of ...
Discover MoreIf you need to often delete duplicate items from a list, then you'll love the macro presented in this tip. It makes quick ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
2020-04-27 13:17:21
Daniel Fruge
Thank you, Mr. Wyatt, for the tip. To substitute step 2 above, you could use this updated formula =MOD(ROW(A1),3).
Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2025 Sharon Parq Associates, Inc.
Comments