LiveFlow raises $13.5 million Series A led by New York-based Valar Ventures and launches LiveFlow Next to revolutionize accounting!
Read More
Arrow
Back to guides
Google Sheets Tips

How to Alternate Row Colors in Google Sheets

In this article, you will learn how to color rows with alternating patterns in Google Sheets. This Google Sheets function allows you to make your data table more visible and clear.

How to use the “Alternating color” function in Google Sheets

  • Select an array you want to apply an alternating pattern.

  • Go to the “Format” tab → “Alternating colors”.

  • The pop-up menu shows up on the right side.

  • Determine if you apply a pattern to “Header” and “Footer”.

  • Choose a pattern you like out of default patterns, or customize your design.

  • Click the “Done” button at the bottom right.

Steps 1 and 2

How to show a pop-up menu of the “Alternating colors” from the menu bar

Steps 3 to 5

How to choose a pattern or customize your pattern in the “Alternating colors” menu

Save hours formatting your next financial spreadsheet!
100+ templates, all free to use.
Free Spreadsheet Templates

What is the alternative way of “Alternating colors”

You can use Conditional Formatting instead of Alternating colors to alternate row colors. 

  • Select the range you want to apply a pattern.

  • Navigate to the “Format” tab → “Conditional formatting”.

  • Choose “Custom formula is” → Enter “=MOD(ROW(),2)=0”.

  • Click the “Done” button at the bottom right.

How to use Conditional Formatting to alternate row colors

Alternating column colors by Conditional Formatting

You need to understand that you make the MOD function return 0 (where a row number is even) or 1 (when a row number is odd) by entering 2 as its divider and that the Conditional Formatting you define is applied where the MOD function returns 0. In the example, Conditional Formatting is effective for rows with even numbers.

If you want to apply Conditional Formatting to rows with odd numbers, you can change the custom formula to “=MOD(ROW(), 2)=1”. You can see the outcome in the picture below.

How to adjust a custom formula for Conditional Formatting to alternate row colors differently

How to alternate column colors in Google Sheets

Check this article: Alternate Column Colors in Google Sheets: Explained to learn how to add alternating colors to columns.

Turn Quickbooks Online data into a Google Sheets dashboard
100+ templates, update automatically, totally secure!
Book a Demo

Learn how to do this step-by-step in the video below 👇

Automate financial reporting with LiveFlow

Cta Photo

Want to eliminate manual updates of your Excel & Google Sheets models?

Yes, show me how!

Get personal help

We guarantee you personal help on chat or Zoom within maximum 6 hours between 9am and 10pm EST.
Blue Tick
Email us at: help@liveflow.io

Liked this article? Then you'll love the ones below

Supercharge your financial reporting today

See LiveFlow in action and discover how to streamline your workflows.