How to Highlight Every Other Row in Microsoft Excel

Download Article
Make your spreadsheet easier to read by coloring every other row
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 How.com.vn 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

Download Article
  1. How.com.vn English: Step 1 Open the spreadsheet you want to edit in Excel.
    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. How.com.vn English: Step 2 Select the cells you want to add to the table.
    Click and drag the mouse so that all cells in the range you want to style are highlighted.[1]
    Advertisement
  3. How.com.vn English: Step 3 Click Format as Table.
    It’s on the Home tab on the toolbar that runs along the top of the app.[2]
  4. How.com.vn English: Step 4 Select a table style.
    Scroll through the options in the Light, Medium, and Dark groups, then click the one you want to use.
  5. How.com.vn English: Step 5 Click OK.
    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)

Download Article
  1. How.com.vn English: Step 1 Open the spreadsheet you want to edit in Excel.
    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. How.com.vn English: Step 2 Select the cells you want to format.
    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. Step 3 Click the icon icon next to "Conditional Formatting.
    " It’s on the Home tab in the toolbar that runs along the top of the screen. A menu will expand.
  4. How.com.vn English: Step 4 Click New Rule.
    This opens the “New Formatting Rule” dialog box.
  5. How.com.vn English: Step 5 Select Use a formula to determine which cells to format.
    You’ll find this option under “Select a Rule Type.”
    • If you’re using Excel 2003, set “condition 1” to "Formula is."
  6. How.com.vn English: Step 6 Enter the formula to highlight alternating rows.
    Type the following formula into the typing area:[4]
    • =MOD(ROW(),2)=0
  7. How.com.vn English: Step 7 Click Format.
    It’s a button on the dialog box.
  8. How.com.vn English: Step 8 Click the Fill tab.
    It’s at the top of the dialog box.
  9. How.com.vn English: Step 9 Select a pattern or color for the shaded rows and click OK.
    You’ll see a preview of the color below the formula.
  10. How.com.vn English: Step 10 Click OK.
    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.
  11. Advertisement
Method 3
Method 3 of 3:

Using Conditional Formatting (Mac)

Download Article
  1. How.com.vn English: Step 1 Open the spreadsheet you want to edit in Excel.
    You can usually do this by double-clicking the file on your Mac.
  2. How.com.vn English: Step 2 Select the cells you want to format.
    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. Step 3 Click the icon icon next to "Conditional Formatting.
    " You can find this button on the Home toolbar at the top of your spreadsheet. It will expand your formatting options.
  4. How.com.vn English: Step 4 Click New Rule on the Conditional Formatting menu.
    This will open your formatting options in a new dialogue box, titled "New Formatting Rule."
  5. How.com.vn English: Step 5 Select Classic next to Style.
    Click the Style drop-down in the pop-up window, and select Classic at the bottom of the menu.
  6. How.com.vn English: Step 6 Select Use a formula to determine which cells to format under Style.
    Click the drop-down below the Style option, and select the Use a formula option to customize your formatting with a formula.
  7. How.com.vn English: Step 7 Enter the formula to highlight alternating rows.
    Click the formula field in the New Formatting Rule window, and type the following formula: [5]
    • =MOD(ROW(),2)=0
  8. How.com.vn English: Step 8 Click the drop-down next to Format with.
    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.
  9. Step 9 Select a formatting option on the "Format with" drop-down.
    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.
  10. How.com.vn English: Step 10 Click OK.
    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.
  11. 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
      Thanks for submitting a tip for review!

      How.com.vn Video: How to Highlight Every Other Row in Excel

      Watch


      About This Article

      How.com.vn English: How.com.vn Staff
      Co-authored by:
      How.com.vn Staff Writer
      This article was co-authored by How.com.vn Staff. Our trained team of editors and researchers validate articles for accuracy and comprehensiveness. How.com.vn'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 240,730 times.
      How helpful is this?
      Co-authors: 8
      Updated: June 9, 2023
      Views: 240,730
      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 240,730 times.

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement