how to color every other row in google sheets

Color Every Other Row in Google Sheets: Easy Steps

By Mark Lewis
AD

Ever found yourself wishing to add a pop of color to your Google Sheets data, but only wanted to apply it to every other row? You're not alone. staircasing this effect can help your data stand out and make it easier to read. Let's dive into a simple step-by-step guide to achieve this.

Before we begin, ensure your Google Sheet is selected and you have the correct sheet open. This guide assumes you're starting with a clean, empty sheet.

Setting Up Your Data

First things first, let's set up some data. Assume you have the following information:

AD
How to Alternate Row Colors in Google Sheets
How to Alternate Row Colors in Google Sheets
How to color cells and alternate row color in Google Sheets
How to color cells and alternate row color in Google Sheets
Facebook
Facebook
  • Column A: contains categories (e.g., Apples, Bananas, Cherries)
  • Column B: contains prices (e.g., $0.50, $0.60, $0.80)

Freezing the Top Row

For easier navigation, let's freeze the top row. Click on any cell below your header row (e.g., A2), then go to View > Freeze > 1 row. Now your headers stay visible even as you scroll down.

Alternatively, you can right-click on the row below the headers, select 'Freeze rows', and choose the number of rows you want to freeze.

Alternate Row Color in Google Sheets: Simple Guide for 2026
Alternate Row Color in Google Sheets: Simple Guide for 2026
Count the Colors in Google Sheets - Teacher Tech with Alice Keeler
Count the Colors in Google Sheets - Teacher Tech with Alice Keeler
How to get the HTML color codes in Google Sheets - Plus every color in the color picker!
How to get the HTML color codes in Google Sheets - Plus every color in the color picker!

Formatting Every Other Row

First, click on any cell inside the first row you want to format (e.g., A2). Then, click on the first cell of the row beneath it (e.g., A3). This should highlight both cells. Now, copy these cells by pressing Ctrl + C (or Cmd + C on Mac).

Right-click on the selected cells, then select 'Format > Fill'. In the fill color box, choose wanted color. Click 'Fill color', then click 'Apply'. Your first two rows should now be colored. Press 'Cancel' to close the format fill dialog.

AD

Fill Down the Column

Hover over the small square at the bottom-right corner of the colored cells (it's called a 'fill handle'). When your cursor turns into a plus sign, drag it downwards to any cell outside your data range (e.g., A200). This should fill down the formatting to every other row in your data set.

How To Color Alternate Rows in Google Sheets
How To Color Alternate Rows in Google Sheets
📊 Color Coded Dropdowns in Google Sheets
📊 Color Coded Dropdowns in Google Sheets
How to Use Alternate Colors in Google Sheets
How to Use Alternate Colors in Google Sheets
A Complete 2026 Guide to Google Sheets Alternate Row Color 2026
A Complete 2026 Guide to Google Sheets Alternate Row Color 2026
Google Sheets Aesthetic
Google Sheets Aesthetic
Color Alternate Rows In Google Sheets.
Color Alternate Rows In Google Sheets.

If you encounter an error (like "Can't format cells that contain text"), it means you've tried to apply formatting to non-empty cells. To solve this, first delete any existing data below your header row, then follow the above steps again.

Advanced Staircasing with Conditional Formatting

While the manual method works, it can be tedious with large data sets. There's a more efficient way using Conditional Formatting.

AD

Applying Conditional Formatting

Select the range of cells you want to format (e.g., A1:B100). Go to Format > Conditional formatting. Under the 'Format cell(s)...' dropdown, choose 'Custom formula is...'. Then:

How to Change Your Google Sheets Theme Color
How to Change Your Google Sheets Theme Color
Google Sheets: How to Alternate Row or Column Colors
Google Sheets: How to Alternate Row or Column Colors
How to Shade Every Other Row in Excel / Google Sheets
How to Shade Every Other Row in Excel / Google Sheets
  • In the 'Value or formula' box, enter the following formula: `=MOD(ROW(), 2) = 0
  • Under the 'Format cells if...' dropdown, choose the formatting you want (e.g., Fill, and then choose the color)
  • Click 'Done', then 'Apply'.

The formula uses the MOD function (which calculates the remainder of a division) to target every other row (those where the row number divided by 2 leaves no remainder).

That's it! You've now successfully colored every other row in your Google Sheets. This not only makes your data more visually appealing but also improves readability, especially when dealing with vast amounts of data.

AD

And as a bonus, you've learned a new Conditional Formatting trick to apply advanced formatting quickly. Happy coloring, and happy data analysis!

AD