+ Reply to Thread
Results 1 to 3 of 3

Add-Copy rows depending on value in cell

  1. #1
    Registered User
    Join Date
    08-11-2010
    Location
    Sweden
    MS-Off Ver
    Excel 2007
    Posts
    93

    Add-Copy rows depending on value in cell

    Dear forum experts,

    I need to extend the rows depending on value in last cell. If last cell in a row has value = 9 then this row needs to be copying to be 9 rows and so on... The last cells value for each row tells how many rows that it has to be.

    This has to be done in a new sheet as I need the original settings if error occur.

    Attached is a file with examples and the result in a new sheet!

    The original files has up to + 10 000 rows and + 20 columns so it will be expanded past 650000 rows, I do use excel 2007 so not a problem here.

    Thanks
    Attached Files Attached Files
    Last edited by soli004; 10-02-2014 at 07:21 AM.

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Add-Copy rows depending on value in cell

    It will be slow over 100k rows.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    08-11-2010
    Location
    Sweden
    MS-Off Ver
    Excel 2007
    Posts
    93

    Re: Add-Copy rows depending on value in cell

    Thanks!

    Exactly what I needed!

+ 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. Copy Rows depending on cell value
    By juanvaldez in forum Excel General
    Replies: 1
    Last Post: 02-15-2014, 07:57 PM
  2. [SOLVED] VBA for searching string in a column and copy rows depending on string in adjacent cell
    By xprakash in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-20-2013, 05:58 AM
  3. Macro to Copy Paste Rows Depending on a Cell Value and show values against each row
    By prkhan56 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-29-2013, 11:41 AM
  4. Conditionally copy selected cells in rows depending on cell contents.
    By danando in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-11-2011, 08:50 PM
  5. copy rows of data depending on value in 1 column
    By wardga in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-28-2010, 10:30 AM

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