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!


Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
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.