In Excel: use Format as Table and enable Banded Rows, or create a conditional formatting rule with =MOD(ROW(),2)=0.
Choose Format as Table for dynamic data.
Use Banded Rows from Table Design.
For a plain range, add a formula-based conditional formatting rule.
Pick a subtle fill so text remains readable.
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. Most people learn this as a sequence of clicks and forget it by next week; learning it as a pattern instead is what lets you apply it to the next, slightly different version of the problem without starting from scratch. That is the difference this page is trying to make. For “alternating color rows excel”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected rows change, and only then apply the same setup to the full sheet. 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 is what makes a layout choice that keeps the sheet readable and sortable useful in real work: repeatable, auditable, and not dependent on memory or luck.
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 there is any chance you will reuse this, drop it into a small template tab right now: a labelled input area on the left and the formula beside it, checked once against the tool above. Next time the same question comes up, the answer is a single paste away instead of a rebuild from memory.
In Google Sheets
If you are in Google Sheets rather than Excel, the good news is that the formula shown here is identical and the workflow barely changes — menus sit across the top instead of in a ribbon, and a few function names differ slightly, but anything you build here moves across with little or no rework. Nothing on this page is behind a login: the tool runs entirely in your browser, the formula is shown in full with one-click copy, and the steps work the same on Windows and Mac. That is the whole promise here — the exact answer, a way to prove it on your own numbers, and just enough context to make it stick. If you take one thing from this page on “alternating color rows excel”, make it the habit rather than the keystrokes: set the problem up with labelled inputs, reference those cells, and let Excel do the recomputing. Bookmark the page for the syntax, but do the example once in a blank sheet and check it against the tool above — five minutes of hands-on practice fixes the method in memory far better than re-reading, and it surfaces the small snags while they are still harmless. After that the technique is genuinely yours: faster than searching for it again, and reliable enough to drop into work that other people depend on.
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 “alternating row colors excel”, “excel alternating row color”, “alternating colored rows in excel” and “how to add alternating colors 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. “alternating row colors excel”, “excel alternating row color”, “alternating colored rows in excel” all point at the one operation explained on this page, which is why they all lead here.