+ Reply to Thread
Results 1 to 5 of 5

Auto Replicate data to new rows based on number of chances

  1. #1
    Registered User
    Join Date
    02-18-2014
    Location
    Abu Dhabi, UAE
    MS-Off Ver
    Excel 2007
    Posts
    2

    Unhappy Auto Replicate data to new rows based on number of chances

    Hi Experts,

    Need help on the following.

    I have list of data with corresponding number of chances ( see attached column E)
    I need to replicate the data under column A,B,C & D to a new rows as per the number under column E and so goes till the end of the list using a formula. No VB please as I have no idea how to use it.

    Basically in the attached example i should have a 43 new data rows

    Will really appreciate any kind of help...
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: Auto Replicate data to new rows based on number of chances

    The CID number in your example seems to increment up to 36 and then to remain the same - can you explain the logic of this?

    Pete

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: Auto Replicate data to new rows based on number of chances

    The attached file shows how you can do this with 4 basic formulae. Put this in G2:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    then copy it down to beyond the bottom of your data (until you get hyphens). It is important to put zero in cell G1. This formula gives you a cumulative sum of the number of chances.

    Then in cell I2 you can have this formula:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    which determines the row for the next record to be fetched across to the new table. This formula in J2:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    gives you the sample number for each record, and this formula in K2:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    brings the data from column A for the first record. This formula is then copied across to N2 to fetch the data from the other columns, and then the formulae in I2:N2 can be copied down as far as yo think you need them (i.e. until you get hyphens in column I).

    Hope this helps.

    Pete
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    02-18-2014
    Location
    Abu Dhabi, UAE
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Auto Replicate data to new rows based on number of chances

    Great this is exactly what i need.
    Thanks!

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: Auto Replicate data to new rows based on number of chances

    Glad to be able to help. Thanks for the rep.

    If that takes care of your original question, please select Thread Tools from the menu above your first post and mark this thread as SOLVED.

    Pete

+ 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. auto fill rows based on number and formula
    By work4nutz in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 11-06-2013, 07:23 PM
  2. Dynamic Auto-Fill Range based upon Specific number of rows
    By a333 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-02-2013, 03:54 AM
  3. Replies: 6
    Last Post: 10-04-2012, 11:12 AM
  4. Auto sum data in rows by account number
    By curt03yzfr1 in forum Excel General
    Replies: 3
    Last Post: 12-09-2011, 09:05 AM
  5. Replicate/copy Rows based upon Another Cell
    By rka81 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-15-2008, 12:59 PM

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