How to apply shading to odd or even (alternative) rows/columns in Excel?
Author: SiluviaLast Modified: 2024-10-29
While designing a worksheet, many people tend to apply shading to odd or even (alternative) rows or columns in order to make the worksheet more visual. This article will show you two methods to apply shading to odd or even rows/columns in Excel.
Apply shading to odd or even (alternative) rows/columns with Conditional Formatting
You can create a Conditional Formatting rule to apply shading to odd or even rows/columns in a worksheet. Please do as follows.
1. Select the range which you want to apply shading to, then click Conditional Formatting > New Rule under the Home tab. See screenshot:
2. In the New Formatting Rule dialog box, you need finish the following configuration:
2.1 Select Use a formula to determine which cells to format option in the Select a Rule Type box;
2.2 For shading odd or even rows, please enter formula =MOD(ROW(),2) into the Format values where this formula is true box;
Tips: For shading odd or even columns, please change the formula to =MOD(Column(),2);
2.3 Click the Format button to specify a shading color for the odd or even rows/colums.
2.4 Click the OK button in this New Formatting Rule dialog box to finish the Conditional Formatting rule. See screenshot:
Then you can see specified shading is applied to alternative rows/columns in selected range as below screenshot shown.
Apply shading to odd or even (alternative) rows/columns with Kutools for Excel
The Alternate Row / Column Shading utility of Kutools for Excel can help you to easily apply shading to odd or even (alternative) rows/columns in Excel.
Kutools for Excel offers over 300 advanced features to streamline complex tasks, boosting creativity and efficiency. Itegarate with AI capabilities, Kutools automates tasks with precision, making data management effortless. Detailed information of Kutools for Excel...Free trial...
1. Select the range which you want to apply shading to, then click Kutools > Format > Alternate Row / Column Shading. See screenshot:
2. In the Alternate Row / Column Shading dialog box, please do as follows:
A: Specify a shading color from the Shade color drop-down list;
B: Select Rows or Columns option in the Apply shading to section based on your needs;
C: In the Shading method section, select Conditional formatting or Standard formatting option as you need;
D: Specify the alternate row or column number you will shade in the Shade every box;
E: Click the OK button. See screenshot:
Then you can see the specified shading is applied to alternative rows/columns in selected range as below screenshot shown.
If you want to have a free trial (30-day) of this utility, please click to download it, and then go to apply the operation according above steps.
Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!
Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time. Click Here to Get The Feature You Need The Most...