Highlight Every Other Line in Excel

If you just need to highlight every other line in excel and move on, the boxed answer at the top is all you need. The rest of this page is for when you want to understand why it works in Excel, adapt it to a trickier version, or make it robust enough to hand to a colleague. We keep the opening short on purpose — the depth is here when you want it, not in your way when you don’t.

Exact answer

In Excel: use Format as Table and enable Banded Rows, or create a conditional formatting rule with =MOD(ROW(),2)=0.

On this page7
Annotated stepsExcel
1

Choose Format as Table for dynamic data.

2

Use Banded Rows from Table Design.

3

For a plain range, add a formula-based conditional formatting rule.

4

Pick a subtle fill so text remains readable.

Ctrl+CthenCtrl+Shift+V+Cthen+Ctrl+VPaste values · WindowsMac

What this does

Alternating row color improves scanning by shading every other row. Format as Table is easiest because banding expands with the table. Conditional formatting gives more control and can shade based on visible row numbers, groups or custom logic. The same idea underpins a lot of everyday Excel work, so the few minutes spent getting it right here pay back across every sheet you build afterwards. Treat it as a pattern, not a one-off, and it stops being something you look up and starts being something you reach for. Treat “highlight every other line in excel” as a small repeatable workflow rather than a one-off click you hope to remember next time. Use a small test block before the live file, so any surprise in the affected cells shows up while it is still harmless. When this is a ribbon command, the selection matters more than the button: confirm the range, apply the command, then spot-check the output before saving. That turns a visual that makes the number obvious at a glance into a method you can reuse, explain, and defend when the workbook leaves your screen.

A worked example

Select A1:F500, choose Home ▸ Format as Table and keep Banded Rows on. For a normal range, select A2:F500, add a conditional formatting formula =MOD(ROW(),2)=0 and choose a light fill. Row banding is small, but it materially improves readability for wide tables and repeated review work. A practical tip: try it on a copy of the sheet or a handful of sample rows first and check the result before you apply it to the real data. That one habit catches almost every surprise while it is still cheap to reverse.

In Google Sheets

This is a command rather than a formula, so there is no syntax to carry over. Google Sheets arranges its commands in menus across the top instead of a ribbon, names some of them differently and does not have every Excel command — look for the equivalent in the Sheets menus or its help before assuming the steps match. Keep this page bookmarked for the next time the same question comes up. Better still, repeat the steps once in your own workbook — doing it yourself is what turns a copied answer into something you remember. If you take one thing from this page on “highlight every other line in excel”, make it the order of checks rather than the individual clicks: confirm what is selected, apply the step, and look at the result before moving on. That small routine is what keeps Excel work predictable when the same task comes back in a slightly different workbook.

Common mistakes

  • Manually coloring rows, then breaking the pattern after sorting.
  • Using colors with poor contrast.
  • Applying the rule to only one column.
  • Forgetting that inserted rows need the rule range to include them.

Frequently asked questions

What formula shades every other row?

=MOD(ROW(),2)=0 shades even rows.

Will banded rows survive sorting?

Yes when done with a table or conditional formatting.

Can I shade by groups instead?

Yes, but use a helper formula based on group changes.

Other ways people ask this

People reach this page typing “how to highlight lines in excel”, “copy line one to other excel sheets” and “how to highlight every other line in excel”, among other phrasings; whichever wording you used, the fix above is the one you want.

Why do people search for this in so many different ways?

Because the same task has many names. “how to highlight lines in excel”, “copy line one to other excel sheets”, “how to highlight every other line in excel” all point at the one operation explained on this page, which is why they all lead here.