Advertisement
Guides

How to Highlight every other Row in Excel (2023)

To make your Excel spreadsheet more readable and visually appealing, you might want to highlight every other row with a different color. This is also known as zebra striping or alternating row colors. Highlighting rows can be helpful as they help identify cells more comfortably and there are a few tools in Excel to help you do it. Hence, to color the rows in Excel, this guide will help you.

Excel: How to Highlight Every Other Row (2023)

Advertisement

To highlight every other row in Excel, you can use the Conditional Formatting feature, and here’s how you can do it:

  • Firstly, select the range of cells to which you want to apply the formatting.
  • Then, open the ‘Conditional Formatting’ menu from the ‘Home’ tab.
  • Now click the ‘New Rule’ option, and select the ‘Use a formula to determine which cells to format’ option.
  • In the ‘New Formatting Rule’ dialog box, enter the following formula in the ‘Format values where this formula is true’ box:

=MOD(ROW(),2)=0

  • This formula checks if the row number is divisible by 2, and returns ‘TRUE’ for even rows and ‘FALSE’ for odd rows.
  • Then, click the ‘Format’ button and go to the ‘Fill’ tab.
  • Now select the color for the even rows.
  • Also, you can change other formatting options such as font, border, or number format by going to different tabs.
  • Click the ‘OK’ button to close the ‘Format Cells’ dialog box.
  • Finally, click the ‘OK’ button again to apply the conditional formatting rule to your selected range.
  • Now you should see every other row highlighted with the color you chose.

Highlight Odd rows

  • Using Conditional Formatting you can choose to highlight odd rows by following these steps:
  • Firstly, open the ‘New Formatting Rule’ dialogue box from the ‘Conditional Formatting’ menu from the above-mentioned steps:
  • Then type the following formula in the ‘Format values where this formula is true’ box:

=MOD(ROW(),2)=1

  • Now click the ‘Format’ button and go to the ‘Fill’ tab.
  • Finally, select a different fill color for the odd rows and click the ‘OK’ button to apply changes.

That’s everything covered on how to highlight every other row in Excel. Also, check out our other guides, such as How to remove empty/blank rows in Excel or How to unhide rows in Excel.

Advertisement
Devendran

A Storyteller who is keen to learn something new about technology.

Recent Posts

Best Cheapest CS2 Skins

In this guide, we'll explore the cost of skins in CS2, what determines their prices,…

2 days ago

The Evolution of UK Bookmaking from Local to Digital

The history of the UK is interconnected with the tale of bookmaking, reflecting the rich…

3 weeks ago

When is Helldivers 2 Coming to Xbox?

What are Arrowhead Game Studios plan to release Helldivers 2 on Xbox? Here are some…

2 months ago

How To Find Median in Excel?

Here is the formula on how to find Median of a dataset in Microsoft Excel.

2 months ago

FF7 Rebirth Trophy Guide: All Trophies List And Platinum (100%)

Here's the list of all the FF7 Rebirth trophies including the Platinum trophy.

2 months ago

FF7 Rebirth Demo Rewards: How To Redeem

Here's how to redeem all the demo rewards and bonuses in Final Fantasy 7 Rebirth.

2 months ago