+ Reply to Thread
Results 1 to 4 of 4

Macro to duplicate rows based on cell value

  1. #1
    Registered User
    Join Date
    05-24-2016
    Location
    Nova Scotia, Canada
    MS-Off Ver
    2016
    Posts
    1

    Macro to duplicate rows based on cell value

    Hi All, I need a macro that will duplicate rows based on the value in cell A.

    Here is my starting data:
    Qty Item# Description
    2 89825 Sham Qn Sam
    2 85415 Sham Qn Biscotti
    4 94888 Sham Qn Baroque

    And here's the needed result:
    Qty Item# Description
    2 89825 Sham Qn Sam
    2 89825 Sham Qn Sam
    2 85415 Sham Qn Biscotti
    2 85415 Sham Qn Biscotti
    4 94888 Sham Qn Baroque
    4 94888 Sham Qn Baroque
    4 94888 Sham Qn Baroque
    4 94888 Sham Qn Baroque

    Any help would be greatly appreciated!

    Thanks

  2. #2
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Macro to duplicate rows based on cell value

    Hi KBEZ,
    try so
    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: Macro to duplicate rows based on cell value

    Give this a try?

    Please Login or Register  to view this content.

  4. #4
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Macro to duplicate rows based on cell value

    Please Login or Register  to view this content.
    If you are happy with my response please click the * in the lower left of my post.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Macro to create duplicate rows based on the value of particular fields
    By EmicoCP in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-22-2015, 09:33 AM
  2. duplicate rows based on cell value
    By epi in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 08-05-2014, 11:33 AM
  3. Macro to duplicate rows based on value in A column
    By gemmasou81 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-26-2014, 06:22 AM
  4. Duplicate Rows based on cell value
    By Reverend in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-20-2014, 11:06 AM
  5. [SOLVED] Delete rows based on duplicate cell, but leaving first and last duplicate.
    By LadyNicole in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-28-2013, 05:07 AM
  6. [SOLVED] Need a Macro that will duplicate rows a number of times based on a column value
    By Lassitude in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-11-2013, 12:04 PM
  7. Replies: 2
    Last Post: 08-24-2011, 05:42 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1