Key Points
To color alternate rows in Google Sheets:
- Select the rows, including the header, you want to color.
- Select Format > Alternating colors.
- Choose one of the default color styles or create your custom style.
- Click on 'Done'.
If you want to color alternate every third or fourth row, or color alternate columns, you need to do it with the Conditional formatting functionality explained in this article.
Suppose you are looking to add a visual element to your Google Sheets spreadsheet or make your data easier to read. In that case, you can use the awesome feature that allows you to color alternate rows in Google Sheets, or simply color every other row in Google Sheets.
The guide below will walk you through the steps for highlighting with alternate colors your Google Sheets files.
How to color every other row in Google Sheets
Google recently added the alternating colors functionality that makes it easy to highlight every other row in Google Sheets, i.e. color alternate rows in Google Sheets.
Before that, you had to use workarounds, such as conditional formatting, if you wanted to color every other row. But now you can do this in only 2 clicks. However, below we will show you both methods: the built-in method to color alternate rows in Google Sheets and the conditional formatting method if you want to color every third or fourth row and color alternate columns.
How to color every other row in Google Sheets with the built-in method
The first method for highlighting every other row in Google Sheets is really straightforward.
- First, open the spreadsheet in which you want to color alternate.
- Next, select all the rows in the dataset, including the header.
- Click on the ‘Format’ tab.
- Select ‘Alternating colors’ near the bottom.

- In the pane that opens on the right, make the following changes:
- Make sure the ‘Header’ option is selected under the Styles section. If your spreadsheet doesn’t have headers, uncheck this option.

- Select from any of the default styles or create your custom style by specifying colors for Header, Color 1 and Color 2.

- Click on ‘Done’.

This will instantly color every other row in your Google Sheets dataset with the chosen colors.

To remove the alternating colors,
- Click on any cell in the dataset.
- Click on the ‘Format’ tab and then select the ‘Alternating colors’ option.
- This will open the pane where you’ll see the option to ‘Remove alternating colors’.
Check out also how to add superscript and subscript in Google Sheets.
Things to have in mind when applying the ‘Alternating colors’ functionality
These are several things you need to know when you are using the ‘Alternating colors’ functionality and how it interacts with other functionalities in Google Sheets.
- If you have highlighted the cells in another color, they will be replaced by those in the ‘Alternating colors’ functionality. If you remove the alternate colors, it will bring back the original colors of the cells.
- If you want to change the header color of a specific cell or range, you can do that manually in the ‘Alternating colors’ menu.
- If you add more records to the datasheet, Google Sheet will automatically color the row in the alternate colors style you chose. But, if you delete any records, the colors will remain and you have to remove them manually.
- If you add more rows to the dataset, Google Sheets will automatically highlight them in alternate colors.
How to color every third or fourth row in Google Sheets
Let’s explore how you can color alternate every third or fourth row in Google Sheets with the Conditional formatting functionality.
- Select the rows you want to highlight with alternate colors by dragging the cursor on the row numbers on the left.
- Click on the ‘Format’ tab.
- Select ‘Conditional formatting’ at the bottom of the pop-up menu.

- In the Conditional Format rules panel on the left, click on the ‘Format rules’ drop-down menu.

- Scroll at the bottom and select ‘Custom Formula is’.

- In the ‘Value or formula’ field enter this formula: =MOD(ROW(),3)=0 if you want to color every third row or =MOD(ROW(),4)=0 if you want to color every fourth row.

- Next, specify the formatting style - you can make rows bold, italicize them, apply strike-through format, etc.
- Click on ‘Done’ to save the changes.
Note: You can alternatively use the formula =ISEVEN(ROW()) to color all even rows in your dataset, or the formula =ISODD(ROW()) to color all odd rows.
How to color columns in Google Sheets
The ‘Alternate coloring’ functionality doesn’t work for columns. So if you want to color alternate columns in Google Sheets, you also need to use ‘Conditional formatting’.
- Select the columns you want to highlight with alternate colors by dragging the cursor over the column header.
- Next, select ‘Format’ > ‘Conditional formatting’.
- In the Conditional Format menu, click on the ‘Format Rules’ drop-down menu, and select ‘Custom Formula Is’.
- In the ‘Value or formula’ field, type in the formula: =ISEVEN(COLUMN()).

- Click on ‘Done’.
This formula will highlight each column with an even number, meaning column B, column D, etc.

If you want to alternate color formatting to odd-numbered columns (column A, column C, etc.):
- Select the columns you want to highlight.
- Go again to Format > Conditional formatting or simply click ‘Add Another Rule’ in the Conditional Format rules panel.
- From the ‘Format Rules’ drop-down menu, select ‘Custom Formula Is’.
- In the formula box, enter the formula: =ISODD(COLUMN()).

- Select formatting options in the ‘Formatting Style’ box and then click on ‘Done’.
Your columns will be highlighted at every odd column.

If you want to remove any conditional formatting rules you’ve applied, go to the Conditional Format Rules” panel, hover over a rule, and click on the ‘Delete’ icon.
You might also be interested in learning how to indent text in Google Sheets.