Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

 How to highlight / fill every nth row or column in Excel?

It is easier for us to read the data in a large worksheet if highlight or fill every nth rows or columns. In Excel, Conditional Formatting is a powerful feature for us to deal with this task. Except the Conditional Formatting, today, I can introduce you a handy tool-Kutools for Excel to finish this job quickly and easily.

Highlight every nth row or column with Conditional Formatting

Highlight every nth row or column with Kutools for Excel

Fill specific number of rows at fixed intervals with Kutools for Excel


Highlight / Conditional formatting every other or nth row or column:

With Kutools for Excel’s Alternate Row / Column Shading feature, you can quickly highlight or shade every other or nth row or column as you want.

doc highlight every nth row 12 12

Kutools for Excel: with more than 200 handy Excel add-ins, free to try with no limitation in 60 days. Download and free trial Now!


Highlight every nth row or column with Conditional Formatting


In this example, I will highlight every fourth row in the worksheet as following screenshot shown.

doc highlight every nth row 1

By default, Excel provides the Conditional Formatting feature for us to complete this problem, please do as follows:

1. Select the data range that you want to highlight every nth row.

2. Click Home > Conditional Formatting > New Rule, see screenshot:

doc highlight every nth row 2

3. In the New Formatting Rule dialog box, click Use a formula to determine which cells to format option from the Select a Rule Type: list box, and then type this formula =MOD(ROW(),4)=0 into the Format value where this formula is true text box, see screenshot:

doc highlight every nth row 3

Tips: with above formula, you can highlight every fourth row in the range, you can change the number 4 to 3, 5, 6…for your need.

4. After entering the formula, then please click Format button to go to the Format Cells dialog, choose one color you like under the Fill tab, see screenshot:

doc highlight every nth row 4

5. Then click OK > OK to close the dialogs, and every fourth row has been highlighted at once in the range.

Notes:

1. Conditional Formatting is a dynamic feature, the shading will be adjusted automatically if you insert or delete rows.

2. If you want to highlight every nth column, please apply this formula: =MOD(COLUMN(),4)=0.


Highlight every nth row or column with Kutools for Excel

If you are not familiar with the Conditional Formatting utility, Kutools for Excel’s Alternate Row / Column Shading also can help you to highlight the rows or columns you need.

Kutools for Excel : with more than 300 handy Excel add-ins, free to try with no limitation in 60 days.

After installing Kutools for Excel, please do with the following steps:

1. Select the range that you want to highlight every nth row.

2. Click Kutools > Format > Alternate Row / Column Shading, see screenshot:

doc highlight every nth row 5

doc highlight every nth row 6

3. In the Alternate Row / Column Shading dialog box, please do the following operations:

A: Specify the columns or rows that you want to highlight from the Apply shading to section;

B: Choose shading methods you need, you can apply Conditional formatting or standard formatting for the rows or columns you need;

C: Select one color you like to shade under the Shade color drop down;

D: At last, specify the interval that you want to shade between two rows from the Shade every scroll box.

Free Download Kutools for Excel Now!

4. After finishing the settings in the dialog box, then click OK button, and you will get the following result:

doc highlight every nth row 7

Notes:

1. If you choose Conditional formatting option in the dialog, the shading will be adjusted automatically if you insert or delete rows;

2. If you choose Standard formatting option, the shading will not be adjusted automatically as you insert or delete rows;

3. To remove the exiting shading, you can select the Remove existing alternate row shading option.

Click to know more about this Alternate Row / Column Shading feature.

Download and free trial Kutools for Excel Now !


Fill specific number of rows at fixed intervals with Kutools for Excel

Sometimes, you need to shade two rows with two intervals alternately in the range which the above two methods will not work, with the Kutools for Excel’s Select Interval Rows & Columns feature, you can quickly solve this job. With it, you can select the number of rows or columns alternately first, and then fill them at once.

Kutools for Excel : with more than 300 handy Excel add-ins, free to try with no limitation in 60 days. 

If you have installed Kutools for Excel, please do as follows:

1. Select the data range that you want to shade.

2. Then click Kutools > Select > Select Interval Rows & Columns, see screenshot:

doc highlight every nth row 8 8

3. In the Select Interval Rows & Columns dialog, choose the rows or columns that you want to shade from the Select section, and then specify the number of intervals and rows you need, see screenshot:

doc highlight every nth row 9

4. Then click OK, two rows at two intervals have been selected alternately, see screenshot:

doc highlight every nth row 10

5. Then click Home > Fill color to choose one color for shading the rows, see screenshot:

doc highlight every nth row 11

Click to know more details about this Select Interval Rows & Columns tool.

 Download and free trial Kutools for Excel Now !


Demo: Highlight every other or nth row / column with Kutools for Excel

Kutools for Excel: with more than 200 handy Excel add-ins, free to try with no limitation in 60 days. Download and free trial Now!


Recommended Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 71%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 82% Excel problems.

  •  Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  •  Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  •  Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  •  Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  •  No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  •  Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  •  60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  •  Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.