+ Reply to Thread
Results 1 to 4 of 4

Populating multiple rows when data is added to specific cell

  1. #1
    Registered User
    Join Date
    04-08-2014
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    57

    Populating multiple rows when data is added to specific cell

    I have a sheet that contains three separate components...

    The first is a column titled "Key" (column B in the attached example). Data would be periodically added to this column by the user.

    The 2nd component is a counter button that increases it's value by 1 each time it is pressed. (I didn't include the actual button macro in the example, but the value under the heading "Count Enter" in column D would normally be populated from this button)

    What I would like to happen is each time the counter button is pressed changing the count, a row would be added for each entry in the "Key" column, and these rows would be populated with one column that would equal the "Count Enter" value, and a 2nd column that would recreate the "Key" list. Because data would be periodically entered into the "Key" column the number of rows that would need to be added would continue to grow at an unpredictable rate. The attached example shows 3 "button clicks". For the first 2 button clicks the key has 8 entries, and I've simulated 12 entries in the key for the 3rd click.

    The last component is a separate table (found on "sheet 6" in the attached example), would populate the added rows using VLOOKUP.

    Hopefully the attached example can demonstrate what I'm asking more clearly. Thanks for any help!
    Attached Files Attached Files

  2. #2
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,236

    Re: Populating multiple rows when data is added to specific cell

    Before we proceed, lets have a look at attached workbook for first phase to see if this is the requirement.
    Press [COUNTER] and again etc
    Please Login or Register  to view this content.


    EDITED" UPLOADED NEW SAMPLE WORKBOOK
    Attached Files Attached Files
    Last edited by sintek; 04-17-2017 at 01:49 PM.
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  3. #3
    Registered User
    Join Date
    04-08-2014
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    57

    Re: Populating multiple rows when data is added to specific cell

    Thanks, exactly what I was looking for. I may need some more help in the future as a stitch things together, but so far so good. Thanks again!

  4. #4
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,236

    Re: Populating multiple rows when data is added to specific cell

    Glad I could help. Thanks for the rep points.

+ 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. [SOLVED] Delete specific data from (x) new rows added as defined by user through input box
    By Jaysk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-10-2017, 12:41 AM
  2. Replies: 1
    Last Post: 06-08-2016, 10:19 PM
  3. Populating multiple rows with the data that repeats itself every 4 rows
    By magdalenakuf in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-17-2016, 01:14 PM
  4. Replies: 2
    Last Post: 03-05-2015, 10:58 PM
  5. [SOLVED] VBA Paste Specific Data To Specific Rows On Multiple Sheets
    By hobbiton73 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-13-2014, 09:35 AM
  6. Replies: 0
    Last Post: 02-21-2013, 09:04 AM
  7. auto populate a formula in a cell as new rows of data are added
    By CharterJP in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 10-30-2012, 06:43 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