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 Solves Most of Your Problems, and Increases Your Productivity by 80%
  • Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
  • More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words.
  • Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum.
  • Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns.
  • Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Send Personalized Emails to Multiple Recipients in Bulk.
  • Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
  • More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.

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 300 handy Excel tools. Free to try with no limitation in 30 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.
  • To post as a guest, your comment is unpublished.
    Chris White · 1 years ago
    My copy of Kutools doesn't have this option for some reason. Can you help me enable this? Thanks!
    • To post as a guest, your comment is unpublished.
      crystal · 11 months ago
      Hi,
      Please upgrade to the new version of Kutools for Excel.
      https://www.extendoffice.com/download/kutools-for-excel.html