
- MS Excel Basics
- Excel - Home
- Excel - Getting Started
- Excel - Explore Window
- Excel - Backstage
- Excel - Entering Values
- Excel - Move Around
- Excel - Save Workbook
- Excel - Create Worksheet
- Excel - Copy Worksheet
- Excel - Hiding Worksheet
- Excel - Delete Worksheet
- Excel - Close Workbook
- Excel - Open Workbook
- Excel - Context Help
- Editing Worksheet
- Excel - Insert Data
- Excel - Select Data
- Excel - Delete Data
- Excel - Move Data
- Excel - Rows & Columns
- Excel - Copy & Paste
- Excel - Find & Replace
- Excel - Spell Check
- Excel - Zoom In-Out
- Excel - Special Symbols
- Excel - Insert Comments
- Excel - Add Text Box
- Excel - Undo Changes
- Formatting Cells
- Excel - Setting Cell Type
- Excel - Setting Fonts
- Excel - Text Decoration
- Excel - Rotate Cells
- Excel - Setting Colors
- Excel - Text Alignments
- Excel - Merge & Wrap
- Excel - Borders and Shades
- Excel - Apply Formatting
- Formatting Worksheets
- Excel - Sheet Options
- Excel - Adjust Margins
- Excel - Page Orientation
- Excel - Header and Footer
- Excel - Insert Page Breaks
- Excel - Set Background
- Excel - Freeze Panes
- Excel - Conditional Format
- Working with Formula
- Excel - Creating Formulas
- Excel - Copying Formulas
- Excel - Formula Reference
- Excel - Using Functions
- Excel - Builtin Functions
- Advanced Operations
- Excel - Data Filtering
- Excel - Data Sorting
- Excel - Using Ranges
- Excel - Data Validation
- Excel - Using Styles
- Excel - Using Themes
- Excel - Using Templates
- Excel - Using Macros
- Excel - Adding Graphics
- Excel - Cross Referencing
- Excel - Printing Worksheets
- Excel - Email Workbooks
- Excel- Translate Worksheet
- Excel - Workbook Security
- Excel - Data Tables
- Excel - Pivot Tables
- Excel - Simple Charts
- Excel - Pivot Charts
- Excel - Keyboard Shortcuts
- MS Excel Resources
- Excel - Quick Guide
- Excel - Useful Resources
- Excel - Discussion
How to Automatically Colour the Alternating Rows/Columns in Excel?
Sometimes you want to add different colours to the alternating rows or columns in the Excel sheet. This will make your sheet appear clearer and more understandable. This tutorial will help you understand how we can automatically colour-code alternating rows or columns in Excel. This procedure can be completed in two ways: first, through the use of tables, and second, through the use of conditional formatting.
Automatically Colour Alternating Rows/Columns Using Tables
Here, we will first create the table for the existing data and then select the layout to complete the task. Let us see a straightforward process to know how we can automatically colour-code alternating rows or columns using the tables. In tables, the alternate rows will be distinct color, but here we will see it more clearly.
Step 1
Let us consider an Excel sheet where the data is like the data shown in the below image.

To insert the table, select the data, click insert, click table, and select the range, and our table will be successfully created, as shown in the image below.

Step 2
Now click on any cell of the table, then click on table design and select any style under quick styles, as shown in the below image. If you are unable to see the alternate colours, select banded rows under the table style options.

Step 3
Now to get the alternate colour columns, select the banded columns under the table style options, and we will get the alternate colour columns as shown in the below image.

Automatically Colour Alternating Rows/Columns Using Conditional Formatting
Here we will use the formula for conditional formatting. Let us see an effortless process to understand how we can add an alternate row or column colour using conditional formatting in Excel.
Step 1
Let us consider the same data that we used in the above example. Now click on conditional formatting under "Home" and select "New Rule" to open a pop-up. In the pop-up window, click on "Use the formula" and enter the formula as =MOD(ROW(),2), then click on "Format."

Step 2
Then, click fill, choose the colour you want to use, and press OK twice.

Our output of alternate rows will look like the below image.

Step 3
If you want a different column, then you can use the formula =MOD(COLUMN(),2)

Conclusion
In this tutorial, we used a simple example to demonstrate how we can automatically colour the alternating rows and columns in Excel.
- Related Articles
- How to Apply Colour Banded Rows or Columns in Excel?
- How to Automatically Insert Rows in Excel?
- How to Automatically Hide Columns Based on Date in Excel?
- How to convert multiple columns to rows in Excel?
- How to Convert Multiple Rows to Columns in Excel?
- How to AutoSum Multiple Rows and Columns in Excel?
- How to AutoSum Multiple Rows/Columns/Worksheets in Excel?
- How to Average Every 5 Rows or Columns in Excel?
- Excel Tutorial – How to Combine Columns, Rows, and Cells?
- How to Apply Shading to Odd or Even Rows/Columns in Excel?
- How to group adjacent columns or rows separately or independently in Excel?
- How to Copy and Paste Rows or Columns in Reverse Order in Excel?
- How to Automatically Expand the Formula Bar in Excel?
- How to Automatically Generate the Invoice Numbers in Excel?
- How to Copy and Paste Multiple Non-Adjacent Cells/Rows/Columns in Excel?
