How to dynamically add rows to a table

d0rian

Active Member
Joined
May 30, 2015
Messages
313
Office Version
  1. 365
I want a table that will dynamically adjust by adding rows when I update values. E.g. in the image below, if I change the values in B2 from 13 to 15, and in B4 from 2 to 8, I want the target table (in cols D:E) to automatically update to how it appears in K:L...The "Count" # represents how many rows of data I want for each label, so when I increase that value, I want the target table to automatically add the corresponding # of rows...


9GCQfLO.jpg
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Two questions–

1. Is performance an issue? (Is the workbook large or slow?)
2. Any preference for formulas vs macros?

Edit: I lied, one more. How close to your real data is this example. Do you always have 4 dates? Do you have 5,000 sometimes? Thx
 
Last edited:
Upvote 0
Thx for follow-up; answer is that i much prefer formulas, and file is pretty bloated as is w/ a few sheets with 10,000 rows...but no need to think about further; i hacked together a workable version that does 80% of what i want. Thanks for reply tho!
 
Upvote 0

Forum statistics

Threads
1,225,569
Messages
6,185,743
Members
453,322
Latest member
AusterRulez

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top