+ Reply to Thread
Results 1 to 3 of 3

Macro to duplicate rows based on cell value

  1. #1
    Registered User
    Join Date
    06-05-2012
    Location
    usa
    MS-Off Ver
    Excel 2007
    Posts
    37

    Macro to duplicate rows based on cell value

    Hello All,

    Hoping someone can help to see if a macro is feasible for this task. Per attachment, The tab called "HC Report" is the input tab where i am hoping based on column A(Quantity), if a Marco can be run to copy the records in the "Result" tab based on the quantity specified. So if quantity = 2 then the results tab will have 2 of the same records.

    Can someone help me develop this Marco if possible ? I searched in YouTube and goggle but did not find anything that would assit completing this task.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Macro to duplicate rows based on cell value

    With text to column.

    After that saved as an excel file.

    See the attached file.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    06-05-2012
    Location
    usa
    MS-Off Ver
    Excel 2007
    Posts
    37

    Re: Macro to duplicate rows based on cell value

    Sorry, i don't see any Marco assigned. I attached a zip file which has the excel example where i need the Macro to duplicate the rows based on quantity inputted in the first tab for the cell.



    Just need a Marco to copy the records in the "Result" tab based on the quantity specified. So if quantity = 2 then the results tab will have 2 of the same records.
    Attached Files Attached Files

+ 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. Need Macro to Duplicate Rows based on input
    By faist001 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-08-2016, 08:26 AM
  2. Macro to duplicate rows based on cell value
    By KBEZ in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-24-2016, 11:58 AM
  3. 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
  4. duplicate rows based on cell value
    By epi in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 08-05-2014, 11:33 AM
  5. 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
  6. Duplicate Rows based on cell value
    By Reverend in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-20-2014, 11:06 AM
  7. [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

Tags for this Thread

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