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»Google Sheets»How to Delete Every Other Row in Google Sheets

    How to Delete Every Other Row in Google Sheets

    Asmi DhakalBy Asmi DhakalDecember 24, 2023 Google Sheets 3 Mins Read

    When importing data on Google Sheets, you may encounter junk data on every other row. To clear such data, simply filter the rows to display only alternate rows, make your selection, and then delete them.

    Also, Google Sheets offers advanced data filtering that allows you to filter specific data using formulas.

    For example, you can use the ISODD function to filter odd-numbered rows or the ISEVEN function to filter even-numbered rows.

    If you’re looking to delete every nth number of rows, filter the rows using the MOD function.

    Remove Every Odd Row

    Function UsedData TypeSyntax
    ISODDBOOLEAN=ISODD(value)
    ROWLOOKUP AND REFERENCE=ROW(cell_reference)

    The ISODD function in Google Sheets returns TRUE or FALSE based on whether the referenced value is odd or not.

    We can filter criteria using the ISODD and ROW functions. Using this formula, Google Sheets will filter out all even rows. Then, we can delete the odd-numbered rows from our grid.

    1. Select your column header.
    2. From the menu bar, click on the filter option.
      create a filter
    3. Back on your sheet, select the filter button on your column header.
    4. Expand Filter by condition.
      filter by condition gsheets filter
    5. Select the fly-out menu and choose Custom Formula is
      add custom formula for filter
    6. In the value or formula section, enter the following formula:
    =ISODD(ROW(A1:A21))
    ISODD function filter
    1. Click OK.
    2. Select your rows. Then, right-click on them and choose Delete selected rows.
      delete selected odd row
    3. Right-click on the column header.
    4. Choose Remove Filter.
      Remove filters gsheets

    Remove Every Even Row

    Function UsedData TypeSyntax
    ISEVENBOOLEAN=ISEVEN(value)
    ROWLOOKUP AND REFERENCE=ROW(cell_reference)

    The ISEVEN function is the exact opposite of the ISODD function in Google Sheets. ISEVEN returns TRUE or FALSE based on whether the referenced number is an even value.

    If you want to filter out the odd numbers to delete the even-numbered rows, use the ISEVEN function instead. We will again insert a filter and then delete the even-numbered rows.

    1. Click on the column header.
    2. Select the Filter option from the menubar.
    3. Click on the filter option from the column header.
    4. Expand Filter by condition.
      Filter by condition
    5. Click on the fly-out and select Custom Formula is.
    6. Enter the following formula in the value or formula section:
    =ISEVEN(ROW(A1:A20))
    ISEVEN function filter
    1. Select OK.
    2. Select the range and right-click on it.
    3. Choose Delete selected rows.
      delete selected rows
    4. Right-click on the column header and select Remove Filter.

    Remove Every Nth Row

    Function UsedData TypeSyntax
    MODINTEGER=MOD(dividend, divisor)
    ROWLOOKUP AND REFERENCE=ROW(cell_reference)

    Say, you want to set a rule to delete rows after every 3rd row. In such cases, you can filter the column using a formula with the MOD function. 

    The MOD function calculates the remainder value using a dividend and a divisor. 

    As an example, let’s delete every two rows in Google Sheets. To create our formula, we’ll first have to analyze the data table.

    Gsheets data table

    Here, every target row is divisible by the number three. So, we can create a condition to only show rows where MOD returns 0 when ROW is the dividend.

    1. Select range A1:E16.
    2. From the menu bar, click Data > Insert filter.
      Create a filter gsheets
    3. Click on the filter option on the column header.
    4. Expand Filter by condition.
    5. Select the fly-out > Custom Formula is.
    6. In the Value or Formula section, enter the following formula:
    =MOD(ROW(A2:A16),3)=0
    filter every third row
    1. Click OK.
    2. Select the entire range and right-click on it.
    3. Click Delete selected cells.
      delete rows gsheets
    4. Go to Data > Remove filter.
      remove filter
    Asmi Dhakal

      Asmi is a content writer specializing in MS Office. She loves writing Excel-related content to assist other users to learn their way around the program. She started using Excel when she first entered the industry as a marketing intern. Soon, she realized that learning the often-overlooked spreadsheet program was no piece of cake. In her articles, she attempts to brief out complex topics to help beginner to intermediate-level Excel users. Asmi uses Excel for everything, including creating a grocery list to managing her personal finance. She’s a bit dramatic when it comes to the Flash Fill feature; so much so that could write a eulogy out of it. When she’s not working, you’ll find her learning a new recipe, or cleaning up her mess (out of the failed recipe).

      Related Posts

      Google Sheets By Jabin Manandhar

      9 Ways to Fix Google Sheets Not Working

      Google Sheets By Nisha Gurung

      How to Highlight Duplicates in Google Sheets

      Google Sheets By Asmi Dhakal

      COUNTIF Not Blank in Google Sheets

      Add A Comment
      Table of ContentsToggle Table of ContentToggle
      • Remove Every Odd Row
      • Remove Every Even Row
      • Remove Every Nth Row
      • Home
      • About Us
      • Privacy Policy
      © 2025 Inside The Web

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