Open In App

How to Delete Every Other Row or Every Nth Row in Excel?

In this article, we will see how to delete every other row or every nth row in excel. Generally, deleting every other row in Excel boils down to selecting alternate rows. Once the rows are selected, a single stroke on the Delete button is all it takes. But there are simpler ways to achieve so which we will be discussing in this article.

Implementation:

We can delete every nth column in excel by following steps:



  1. Create an extra column say ‘Helper’.
  2. Write modulus formula that divides the row number by n(nth row you want to delete) number in helper column.
  3. Filter out data whose helper column value is 1. (considering column header has row value 1 and entries starts from row number 2)
  4. Delete the filtered data.
  5. View the original data, delete the helper column created earlier.
  6. you can see that nth row data is deleted now.

Example: 

We have the following data in excel:



For demonstration purposes follow the below steps:

Step 1: Create a new column with the name ‘Helper’. 

Step 2: Write the formula.

Formula used: Mod(row(),3)

Step 3: Filter data

Step 4: Delete filter data

Step 5: View original data

Step 6: Delete the Helper column.

Final result:

Article Tags :