Auto fill in rows based on cell values

circularloop

New Member
Joined
Jan 28, 2016
Messages
7
Hello guys,

Looking some help in excel formula (not macros). I have group of units based on their sizes. e.g. type X=2 units, type Y=1 units, Z=3 units and so on filled in excel as below;

AB
1X2
2Y1
3Z3

<tbody>
</tbody>

so based on the value in column B as above, I want all rows beyond 5 to populate/list each item repetitively as following;
51X
62X
71Y
81Z
92Z
103Z

<tbody>
</tbody>


any help on this is greatly appreciated.
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Welcome to the Board!

Using VBA is definitely the easiest way to go. I don't know if there is a way to do it without it. If there is, it is probably going to use some complex functions, and you will need to figure out exactly how many rows to copy those formulas down for.
 
Upvote 0
It is very hard to replicate "loop-like" situations without VBA. I cannot think of a way to do it.
If you figure it out, be sure to post back here. I would love to see how you do it.
 
Upvote 0

Forum statistics

Threads
1,215,373
Messages
6,124,555
Members
449,170
Latest member
Gkiller

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