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

or

Quickly duplicate rows or columns based on cell value in a specific column or row in Excel

Normally, may be there is no good and quick way for you to duplicate each row of a specific range n times based on numbers in a specific column except the VBA code in Excel. But with the Duplicate Rows / Columns based on cell value utility of Kutools for Excel, you can quickly get it done with only several clicks.

Duplicate rows based on cell value in column

Duplicate columns based on cell value in row

Office Tab Enable Tabbed Editing and Browsing in Office, and Make Your Work Much Easier...
Kutools for Excel Brings 300 Advanced Features to Excel, and Increase Your Productivity by 80%
  • 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 and Keeping Data; Split Cells Content; Combine Duplicate Rows and Sum/Average... 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...
  • Favorite and Quickly Insert Formulas, Ranges, Charts and Pictures; Encrypt Cells with password; Create Mailing List and send emails...
  • 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...
  • Kutools works with Office 2007-2019 and 365. It supports all languages, and very easy to install or deploy. Full features 60-day free trial.

Click Kutools > Insert > Duplicate Rows / Columns based on cell value to enable the utility.


Duplicate rows based on cell value in column

Supposing you have a range of data as the below screenshot shown, now, to duplicate each row a number of times based on the numeric values in column F, please do as follows.

1. Click Kutools > Insert > Duplicate Rows / Columns based on cell value. See screenshot:

2. In the Copy and insert rows & columns dialog, you need to:

  • Select the Copy and insert rows option in the Type section;
  • Select the range you will duplicate the rows in the Insert Range box;
  • Select the column range that you want to duplicate rows based on in the Repeat Times box;
  • Click the OK or Apply button. See screenshot:

Note: You can click the Example section to expand the dialog for more example details of the steps.

Then the rows are duplicated as the below screenshot shown.

Demo:


Duplicate columns based on cell value in row

This utility also can help to duplicate each column a number of times based on the numeric values in a specific row.

1. Click Kutools > Insert > Duplicate Rows / Columns based on cell value to enable the utility.

2. In the Copy and insert rows & columns dialog, you need to:

  • Select the Copy and insert columns option in the Type section;
  • Select the range you will duplicate the columns in the Insert Range box;
  • Select the row range that you want to duplicate columns based on in the Repeat Times box;
  • Click the OK or Apply button. See screenshot:

Note: You can click the Example section to expand the dialog for more example details of the steps.

Then the selected columns are duplicate as the below screenshot shown.

Demo:

Kutools for Excel includes more than 120 handy Excel tools. Free to try with no limitation in 60 days. Download the free trial now!


Productivity Tools Recommended
The following tools can greatly save your time and money, which one is right for you?
Office Tab: Using handy tabs in your Office, as the way of Chrome, Firefox and New Internet Explorer.
Kutools for Excel: More than 300 Advanced Functions for Excel 2019, 2016, 2013, 2010, 2007 and Office 365.
Classic Menu for Office: Bring back familiar menus to Office 2007, 2010, 2013, 2016, 2019 and 365, as if it were Office 2000 and 2003.

Kutools for Excel

The functionality described above is just one of 300 powerful functions of Kutools for Excel.

Designed for Excel(Office) 2019, 2016, 2013, 2010, 2007 and Office 365. Free download and use for 60 days.

Screen shot of Kutools for Excel

btn read more      btn download     btn purchase

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.