Shade Every Other Line in Excel

There are two ways to “shade every other line in excel”: the quick way you copy and the durable way you understand. This page gives you both. The exact Excel answer is above; below, we build the small mental model that makes the fix stick, so the next variation of the same problem solves itself.

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. The difference between a quick fix and a sheet you can trust is the extra minute you spend validating “shade every other line in excel”. Start on a copy or a tiny sample, keep the affected cells visible, and compare the result with the tool above before you touch the real workbook. 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. The point is a visual that makes the number obvious at a glance, but the practical win is that someone else can open the file and understand what happened without asking you.

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. If this is something you do often, add the command to the Quick Access Toolbar (right-click it on the ribbon and choose Add to Quick Access Toolbar) or learn its shortcut, so next time it is one click instead of a hunt through the menus.

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. Here is the takeaway for “shade every other line in excel”: follow the steps at the top, check the result on the sheet itself, and keep undo in mind while you experiment. Done once deliberately, it becomes something you do from memory in Excel rather than something you search for again.

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

On the way here you may have searched this as “how to shade every other line in excel” and “how do you shade every other line in excel” — it is all the same task, and this page is the single, complete answer to it.

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

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