Inside The Web
    Facebook Twitter Instagram
    Inside The Web
    • Office
      • Excel
      • Ms Word
      • OneDrive
      • Google Docs
      • Google Sheets
      • Google Drive
    • Email
      • Gmail
      • Outlook
      • Emal Etiquette
    • Office Etiquette
    • Productivity
    Inside The Web
    Home»Office»Excel»How to Delete a Row in Excel

    How to Delete a Row in Excel

    Nisha GurungBy Nisha GurungFebruary 27, 2023 Excel 6 Mins Read

    Inserting and deleting rows on your spreadsheet is a very common practice in Excel. If you have any unwanted rows, you could use Excel’s Ctrl + – shortcut key to eliminate the selected rows quickly. 

    But, to delete rows with a specific condition, you can check out one of the Excel tools like Filter, Go To Special, Find and Replace, etc. For Instance, to cancel out rows having conditional formatting only, the Go To Special menu can be useful. 

    However, if you have to delete every other row or every nth row in Excel, you’d have to use a formula. 

    Delete Single or Multiple Rows

    You can also delete single or multiple rows from the Home Tab. Use this method if you are not used to working with shortcut keys.

    Firstly, make a selection of a row or multiple rows. Then, on the Home Tab, click on Delete > Delete Sheet Rows option.

    Delete Rows With Condition

    If you have to delete rows based on specific conditions like cell value, texts, formulas, etc, check out one of these methods.

    From Go To Special 

    Go To Special menu will help you to locate and select all cells having comments, constants, formulas, row differences, column differences, and many more. Then, you can cancel out only selected rows.

    This method will especially come in handy for deleting Blank rows immediately. It will save you from the wearisome process of selecting empty cells between the data one by one and removing them. 

    As an example, we have provided a reference for eliminating blanks. Choose your preferred option in the Select box. 

    1. Highlight a Row or multiple Rows.
    2. Enter F5 or Ctrl + G on your keyboard.
    3. Click on Special.
      Click-on-Special
    4. Under Select, choose Blanks.
      Under-Select,-choose-Blanks
    5. Right-click on the selection and pick Delete.
      Right-click-on-the-selection-and-pick-Delete
    6. Choose Entire Rows. Then, click OK.
      Choose-Entire-Rows

    Using Filter Tool 

    Sometimes, you would want to delete certain rows with texts or numbers. In such case, you must enable the Filter tool to make a selection because there is no option for it on the Go To Special menu.

    With Filter Tool, you can choose to show only the specific rows with conditions from the defined area. For Instance, rows with a cell containing Germany or Less than 200 value. 

    You will have access to more filter options like cells that begins with, ends with, equal to, is greater than, is less than, etc. Thus, it is easier for you to eliminate rows. Once you turn off the filter, you can have all the data again. 

    1. Select any Cell.
    2. Navigate to Data Tab. On Sort & Filter section, click the Filter option. 
      click-the-Filter-option
    3. Do one of the following:

    To delete rows with specific Text, 

    • Click on the Filter dropdown of your text column.
      Click-on-the-Filter-dropdown-of-your-text-column
    • Under Text Filters, click on Select All to deselect entire lists.
      click-on-Select-All-to-deselect-entire-lists
    • Now, check the box for Germany and click OK. (You can choose any according to the data)
      check-the-box-for-Germany-and-click-OK
    • All rows with Germany will appear in the data.
      Delete Rows using Filter tool
    • After selecting rows, Right-click on them and choose Delete Row. 
      Right-click-on-them-and-choose-Delete-Rows

    To delete rows with specific Values,

    • Expand the Filter dropdown of the column with number data.
      Expand-the-Filter-dropdown-of-the-column-with-number-data
    • Pick Number Filters > Custom Filter. 
      Pick-Number-Filters-Custom-Filter
    • Select your option on the Drop-down menu. 
      Select-your-option-on-the-Drop-down-menu
    • Enter a Number in the field and hit OK button.
      Enter-a-Number-in-the-field-and-hit-OK-button
    • Select the Rows.
      Select-the-Rows
    • Right-click on the selected area and choose Delete Row.
      choose-Delete-Row

    Using Find and Replace

    Excel’s Find tool is another way to search the particular cells of your spreadsheet. Unlike filter tools, you may not have access to a wide range of options to narrow down your search. However, you can use this method to look up cell contents immediately and eliminate its rows.

    1. Highlight all data ranges using Ctrl + A.
      Highlight-all-data-ranges-using-Ctrl-+-A
    2. For the Find and Replace menu, press Ctrl + F shortcut key. 
    3. On Find What, type Germany in the field and click on Find All.
      type-Germany-in-the-field-and-click-on-Find-All
    4. You can see all cells with Germany. Again, press Ctrl + A to select them.
      press-Ctrl-+-A-to-select-them
    5. Now, right-click on the cell containing Germany and choose Delete.
      right-click-on-the-cell-containing-Germany-and-choose-Delete
    6. Choose Entire row and click OK.
      Choose-Entire-row-and-click-OK

    Delete Every Alternate Rows

    There is no such menu that deletes alternate rows in Excel. Even if you manage to eliminate them manually, it would take forever for large spreadsheets.

    Luckily, we have a formula that will help you to filter out every odd or even row at once. So, deleting them wouldn’t be a big deal.

    Formula: =MOD(ROW(),2)

    In this formula, when the MOD function divides each ROW by 2, you will get either 0 or 1 as a remainder.

    For example, 

    • =MOD(ROW(2),2)=0 (when the MOD Function divides the 2nd row, the remainder is 0 as 2 is divisible by 2).
    • =MOD(ROW(5),2)=1 (When the MOD Function divides the 5th row, you will have 1 as the remainder because 5 is not divisible by 2)

    To use this formula, 

    1. In an empty adjacent cell of a column, enter =MOD(ROW(),2) formula.
      Delete every alternate row with MODROW formula
    2. If your row is odd, you’ll get 1 as result. Similarly, if your row is even, you’ll get 0. Use Flash-fill to apply a formula to other ranges.
      Use-flash-fill-to-apply-a-formula-to-other-ranges
    3. Now, press down Ctrl + Shift + L keys together for the Filter tool. 
    4. Expand the Filter dropdown of the column with MOD ROW formula.
      Expand-the-Filter-dropdown-of-the-column-with-MOD-ROW-formula
    5. Uncheck the box for Select All.
      Uncheck-the-box-for-Select-All
    6. Now, depending on the odd or even rows you want to delete, check the box for 1 or 0. Then, click OK.
      check-the-box-for-1-or-0
    7. Since I chose 0 above, Excel will display all the Even rows. Now, Highlight all ranges.
      Highlight-all-ranges
    8. Right-click on the selected area and pick Delete Row. 
      pick-Delete-Row

    Delete Every Nth Rows

    If you want to delete every nth row, we will use the MOD(ROW) formula like above. But here, we are adding the value to filter out only the nth number of rows. 

    Formula: MOD(ROW()-m,n)

    Let’s take the example of deleting every 4th row. According to our data, the Formula Arguments would be:

    • m= -1 (Row Number where your data begins – 1). Our data starts at row 2. So, 2-1 = 1. If your data starts at row 4, 4-1=3. So, m would be 3.
    • n= 4 (Nth row to delete).
    1. Enter=MOD(ROW()-1,4) in a cell.
      Delete every nth row
    2. Drag down the Flash-fill icon to copy the formula for the remaining ranges.
      Drag-down-the-Flash-fill
    3. Then, press Ctrl + Shift + L shortcut keys to apply Filter. 
    4. On the MOD ROW column, click on Filter drop-down. Then, Click on Select All to deselect all menu. 
      click-on-Filter-drop-down
    5. Choose 0 and click OK.
      Choose-0-and-click-OK
    6. Press Ctrl + A to select all.
      Press-Ctrl-+-A-to-select-all
    7. Right-click and pick Delete Row option.  
      Right-click-and-pick-Delete-Row-option
    Excel Basics
    Nisha Gurung

      As a Business Student, Nisha first used Excel to outline data trends for her college projects. Later, she started exploring basic Excel functions when she realized it is a powerful tool for all businesses today. Nisha believes she can relate to many of the issues users face when starting their Excel Journey. She uses this knowledge and experience to curate contents that are fit for all types of Excel users. Apart from writing, she enjoys reading books and traveling.

      Related Posts

      Excel By Nisha Gurung

      How to Compare Two Columns in Excel Using VLOOKUP

      Excel By Nisha Gurung

      How to Share Excel Files with Multiple Users

      Excel By Nisha Gurung

      How to Filter Based on a List in Excel

      Add A Comment
      Table of ContentsToggle Table of ContentToggle
      • Delete Single or Multiple Rows
      • Delete Rows With Condition
        • From Go To Special 
        • Using Filter Tool 
        • Using Find and Replace
      • Delete Every Alternate Rows
      • Delete Every Nth Rows
      • Home
      • About Us
      • Privacy Policy
      © 2025 Inside The Web

      Type above and press Enter to search. Press Esc to cancel.