How to highlight every other row in Excel?

September 14, 2026
27.8K Views

When dealing with an Excel document with huge amounts of data, we may find it difficult to differentiate one row from another.

At this point, highlighting alternate rows has been proven to make your data more readable and easier on the eyes.

Here are the steps.

1. Select the desired cell range. Click the Home tab > Conditional formatting > New Rule to pop up a dialog.

2. In the Select a Rule Type area, select Use a formula to determine which cells to format.

3. Input the formula =MOD(ROW(),2)=0or =MOD(ROW(),2)=1in the Format only cells with text box.

4. Then set for its format in the Edit the Rule Description area as needed.

Tips:

=MOD(ROW(),2)=0: To start highlighting every alternate row starting from the second row.

=MOD(ROW(),2)=1: To start highlighting every alternate row starting from the first row.

Now let’s show it briefly.

For all, easy your work with WPS office suite. Free download WPS Office for PC, Mobile, Windows, Mac, Android, iOS online.

15 years of office industry experience, tech lover and copywriter. Follow me for product reviews, comparisons, and recommendations for new apps and software.