How to Select Every Other Row in Excel: 6 Easy Methods

The following dataset is about the sales information of a certain tech shop. It has four columns: Sales Rep, Region, Product, and Sales. These columns show the total sales information for a particular product by a sales representative.

Sample Dataset to Select Every Other Row in Excel


Method 1 – Using Conditional Formatting to Mark Selectable Cells

Steps:

  • Choose the B4:E13 cell range.
  • Open the Home tab >> Go to Conditional Formatting >> select New Rule.

Selecting Conditional Formatting Select Every Other Row in Excel

  • A dialog box will pop up.
  • Select Use a formula to determine which cells to format.
  • Write down the following formula in the Format values where this formula is true box,

Type the formula

=MOD(ROW(B4),2)=0
  • Select the format of your choice.
  • Click OK.

Writing Formula in the Conditional Formatting Box to Select Every Other Row in Excel

  • The MOD(ROW(),2)=0 functions will Highlight every 2nd row starting from the first.

Using Conditional Formatting to Select Every Other Row in Excel

  • Select the first Highlighted row then hold the CTRL key and select the rest of Highlighted rows.

Select Alternate Rows Using Conditional Formatting

 


Method 2 – Using Highlight Feature

Steps:

  • Select the cell range that you want to Highlight and want to select.
  • Open the Home tab >> Go to Conditional Formatting >> select New Rule

Choosing Conditional Formatting Options to Select Every Other Row in Excel

  • A dialog box will be on the screen.
  • Select Use a formula to determine which cells to format.
  • Use the ISODD function. It will only Highlight the rows where the row number is odd.
    Type the formula
    =ISODD(ROW())
  • You can select the Format of your choice.
  • Click OK.

Writing Conditional Formatting Formula to Select Every Other Row in Excel

  • It will Highlight the ODD number of rows.

Using Highlight to Select Every Other Row in Excel

  • Select every other odd row you can select the first Highlighted row then hold the CTRL key and select the rest of Highlighted rows.

Selecting Every Other Odd Row


II. For EVEN Rows

Steps:

  • To Highlight the even number of rows, select every other even row. Select the cell range that you want to Highlight and select later.
  • Choose the B4:E13 cell range.
  • Open the Home tab >> Go to Conditional Formatting >> select New Rule.

Selecting New Rule Command from the Conditional Formatting Option to Select Every Other Row in Excel

  • After selecting New Rule, a dialog box will pop up.
  • Choose Use a formula to determine which cells to format.
  • Use the ISEVEN and the ROW function. It will only Highlight the rows where the row number is even.
    Write the formula
    =ISEVEN(ROW())
  • Choose the Format of your choice.
  • Click OK.
  • Writing Formula to Perform Conditional Formatting to Select Every Other Row in ExcelThe EVEN rows will be Highlighted.

Using Highlight to Select Every Other Row in Excel

  • To select every other even row, select the first Highlighted row then hold the CTRL key and select the rest of Highlighted rows.

Selecting Every Other Row

 


Method 3 – Using Keyboard and Mouse Shortcut

Steps:

  • Select the row number, then double-click on the row number on the right side of the mouse.

Using Keyboard and Mouse to Select Every Other Row in Excel

  • It will select the Entire Row.

Selecting Rows to Select Every Other Row in Excel

  • Hold the CTRL key and select the rest of the rows of your choice using the right side of the mouse.

Selecting Every Other Row in Excel Using Mouse and Keyborad


Method 4 – Utilizing Table Format

Steps:

  • Select a range of rows to insert Table.
  • Open the Insert tab >> select Table.

Inserting Table to Select Every Other Row in Excel

  • A dialog box showing the selected range will pop up.
  • Select My table has headers.
  • Click OK.

Selecting Data Range for Table to Select Every Other Row in Excel

  • The selected ranges will be converted into Table.
  • Every other row has a different fill color to Highlight every other row.

Using Table Format to Select Every Other Row in Excel

  • To select every other row of your choice, select any Highlighted row, hold the CTRL key, and select the rest of the Highlighted rows you want to select.

Select Every Other Row in Excel


Method 5 – Using Filter with Go To Special

To select every other row using Filter with Go To Special, we added a new column in the dataset name Row Even/Odd. This column will show TRUE for even rows and False for odd rows.

Sample dataset with Extra Column to Select Every Other Row in Excel

Steps:

  • Select the F4 cell and type the following formula,
=ISEVEN(ROW())

Inserting Formula in Extra Column to Select Every Other Row in Excel

  • Press Enter.
  • It will show TRUE for row number 4 as it is an even number.

Getting Result from Inserted Formula to Select Every Other Row in Excel

  • Use the Fill Handle to AutoFill formula for the rest of the cells.

Using ISEVEN Function

  • Select the range where you want to apply the Filter.
  • Select all the columns.
  • Open the Data tab >> select Filter.

Using Filter with Go To Special

You also can use the CTRL+SHIFT+L keyboard shortcut.

  • The Filter will be applied to all columns.

Using Filter with Go To Special

  • Select the Row Odd/Even column to use Filter options.
  • Select the TRUE value to Filter.
  • Click OK.

Filtering True and False Values

  • All the column values will be Filtered where the value is TRUE.

Filtered Rows

  • Select the range where you want to apply Go To Special.
  • Open the Home tab >> from Editing group >> Go to Find & Select >> select Go To Special

Using Filter with Go To Special

  • A dialog box will be on the screen.
  • Select the Visible cells only.
  • Press OK.

Using Filter with Go To Special

  • The visible cells are selected.
  • Open the Data tab >> select Filter.

Removed Filtered from Rows

  • It will show the selected values along with all values by removing Filter.

Using Filter with Go To Special


Method 6 – Applying VBA

Steps:

  • Open the Developer tab >> select Visual Basic.

Opening Visual Basic Window

  • A window for Microsoft Visual Basic for Applications will pop up.
  • Click on Insert >> select Module.

Inserting Module in VBA

  • A new Module will be opened.

New Module in VBA

  • Write the code to select every other row in the Module.
Sub SelectEveryOtherRow()
Dim userRange As Range
Dim OtherRowRange As Range
Dim rowCount, i As Long
Set userRange = Selection
rowCount = userRange.Rows.Count
With userRange
Set OtherRowRange = .Rows(1)
For i = 3 To rowCount Step 2
Set OtherRowRange = Union(OtherRowRange, .Rows(i))
Next i
End With
OtherRowRange.Select
End Sub

VBA Code

  • Save the code and go back to the worksheet.
  • Select the range where you want to apply the VBA.
  • Open the View tab >> from Macros >> select View Macro.

Using Macros to Run VBA

  • A dialog box will pop up. Select the Macro name SelectEveryOtherRow.
  • Click Run.

Running VBA Code

  • Every other row will be selected from the first row.

Selecting Every Other Row Using VBA

 


Download Practice Workbook


Related Articles


<< Go Back to Select Row | Rows in Excel | Learn Excel

 

 

 

 

 

 

 

 

 

 

Get FREE Advanced Excel Exercises with Solutions!
Shamima Sultana
Shamima Sultana

Shamima Sultana, BSc, Computer Science and Engineering, East West University, Bangladesh, has been working with the ExcelDemy project for 2 years. She has written over 75+ articles and reviewed 1000+ articles for ExcelDemy. She has also led several teams with Excel VBA and Content Development works. Currently, she is working as the Project Manager and oversees the day-to-day work, leads the services team, allocates resources to the right area, etc. Her work and learning interests vary from Microsoft... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo