PDF download Download Article
Make your spreadsheet easier to read by coloring every other row
PDF download Download Article

It can be tricky to read a spreadsheet that's just black text on a white background. By highlighting or adding color to every other row, you can really make your data stand out. This wikiHow guide will teach you how to highlight alternating rows in Microsoft Excel for Windows or macOS.

Things You Should Know

  • Adding color to the background of every other row makes your data more readable.
  • Use table styles to select a premade style with alternate row highlighting.
  • Use conditional formatting to fill every other row with color using a simple formula.
Method 1
Method 1 of 3:

Using a Table Style

PDF download Download Article
  1. You can usually do this by double-clicking the file on your PC or Mac.
    • Use this method if you want to add your data to an browsable table in addition to highlighting every other row.
    • You should only use this method only if you won’t need to edit the data in the table after applying the style.
  2. Click and drag the mouse so that all cells in the range you want to style are highlighted.[1]
    Advertisement
  3. It’s on the Home tab on the toolbar that runs along the top of the app.[2]
  4. Scroll through the options in the Light, Medium, and Dark groups, then click the one you want to use.
  5. This applies the style to the selected data.
    • You can edit the style of the table by selecting or deselecting preferences in the “Table Style Options” panel on the toolbar. If you don’t see this panel, click any cell in the table and it should appear.
    • If you want to convert the table back to a regular range of cells so you can edit the data, click the table to bring up the table tools in the toolbar, click the Design tab, then click Convert to Range.
  6. Advertisement
Method 2
Method 2 of 3:

Using Conditional Formatting (Windows)

PDF download Download Article
  1. You can usually do this by double-clicking the file on your PC.
    • This method is suitable for all types of data. You’ll be able to edit your data as needed without affecting the formatting.
  2. Click and drag the mouse so that all cells in the range you want to style are highlighted.[3]
    • To highlight every other row of the entire document, click the Select All button, which is the gray square button/cell at the top-left corner of the sheet.
  3. This opens the “New Formatting Rule” dialog box.
  4. You’ll find this option under “Select a Rule Type.”
    • If you’re using Excel 2003, set “condition 1” to "Formula is."
  5. Type the following formula into the typing area:[4]
    • =MOD(ROW(),2)=0
  6. It’s a button on the dialog box.
  7. It’s at the top of the dialog box.
  8. You’ll see a preview of the color below the formula.
  9. This highlights alternating rows in the spreadsheet with the color or pattern you selected.
    • You can edit your formula or formatting by clicking the arrow next to Conditional Formatting (on the Home tab), selecting Manage Rules, and then selecting the rule.
  10. Advertisement
Method 3
Method 3 of 3:

Using Conditional Formatting (Mac)

PDF download Download Article
  1. You can usually do this by double-clicking the file on your Mac.
  2. Click and drag the mouse to select all the cells in the range you want to edit.
    • If you want to highlight every other row in the entire document, press Command+A on your keyboard. This will select all the cells in your spreadsheet.
  3. This will open your formatting options in a new dialogue box, titled "New Formatting Rule."
  4. Click the Style drop-down in the pop-up window, and select Classic at the bottom of the menu.
  5. Click the drop-down below the Style option, and select the Use a formula option to customize your formatting with a formula.
  6. Click the formula field in the New Formatting Rule window, and type the following formula: [5]
    • =MOD(ROW(),2)=0
  7. This option is located below the formula field at the bottom. It will expand your formatting options on a drop-down.
    • The formatting you select here will be applied to every other row in the selected area.
  8. You can click an option here, and preview it on the right-hand side of the pop-up window.
    • If you want to manually create a new highlight format with different color, click the custom format... option at the bottom. It will open a new window, and allow you to manually select fonts, borders and colors to use.
  9. This will apply your custom formatting, and highlight every other row in the selected area on your spreadsheet.
    • You can edit the rule at any time by clicking the arrow next to Conditional Formatting (on the Home tab), selecting Manage Rules, and then selecting the rule.
  10. Advertisement


Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Tips

Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!

wikiHow Video: Microsoft Excel: How to shade every other row

Watch


You Might Also Like

Apply Conditional Formatting in ExcelApply Conditional Formatting in Excel
Highlight a Whole Column in Google Sheets3 Simple Ways to Highlight a Column in Google Sheets
Find Duplicates in ExcelFind Duplicates in Excel
Format a Cell in Microsoft ExcelEasy Steps to Change the Format of a Cell in Microsoft Excel
Add Grid Lines to Your Excel Spreadsheet3 Easy Ways Add Grid Lines to Your Excel Spreadsheet
Find Matching Values in Two Columns in Excel Find Matching Values in Two Columns in Excel
Add Header Row in Excel Add a Header Row in Excel: Step-by-Step Guide
Use ExcelNew to Excel? Here's Super Easy Tricks to Get You Started
Filter by Color in ExcelFilter by Color in Excel
Make Tables Using Microsoft ExcelSimple Steps to Make Tables in Excel
Edit Data in Microsoft Excel3 Simple Ways to Edit Data in MS Excel
Insert Borders in Excel2 Quick Ways to Insert Cell Borders or Gridlines in Excel
Make a Spreadsheet in ExcelMake a Spreadsheet in Excel
Unhide All Rows and Columns in Microsoft Excel
Advertisement

About This Article

wikiHow Staff
Co-authored by:
wikiHow Staff Writer
This article was co-authored by wikiHow Staff. Our trained team of editors and researchers validate articles for accuracy and comprehensiveness. wikiHow's Content Management Team carefully monitors the work from our editorial staff to ensure that each article is backed by trusted research and meets our high quality standards. This article has been viewed 252,207 times.
How helpful is this?
Co-authors: 8
Updated: June 9, 2023
Views: 252,207
Categories: Microsoft Excel
Article SummaryX

1. Highlight the data you want to format.
2. Click the arrow next to "Conditional Formatting."
3. Click New Rule.
4. Select Use a formula to determine which cells to format.
5. Enter this formula: =MOD(ROW(),2)=0
6. Click Format.
7. Select a color on the Fill tab.
8. Click OK and then OK again.

Did this summary help you?

Thanks to all authors for creating a page that has been read 252,207 times.

Is this article up to date?

Advertisement