Shading Alternate Rows in Excel

If you just need to shading alternate rows 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. Before you run it on a workbook other people depend on, try it on a copy or a few rows first. Undo only reaches back through the current session, so a quick trial run is the cheapest way to see exactly what will change before the file is saved and shared. The difference between a quick fix and a sheet you can trust is the extra minute you spend validating “shading alternate rows in excel”. Start on a copy or a tiny sample, keep the affected rows 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 layout choice that keeps the sheet readable and sortable, 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. Treat “shading alternate rows in excel” as a routine rather than a one-off. Once you know which setting or command controls it, the same few steps handle every workbook where it comes up in Excel, and you can explain them to a colleague in a sentence.

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

This is also commonly searched as “excel alternate row shading”, “alternate line shading excel” and “alternate shading excel rows”. They describe the identical operation, so you are in the right place no matter how you phrased it.

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

Because the same task has many names. “excel alternate row shading”, “alternate line shading excel”, “alternate shading excel rows” all point at the one operation explained on this page, which is why they all lead here.