Can you create new rows based on the number value in a column

baionia

New Member
Joined
Oct 8, 2018
Messages
2
So here is the situation that I am faced with making work.
We have a cell where when someone puts a number (1-10) it should create new rows labeled (A-J) based on the number in the cell.

[TABLE="width: 559"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]Rack ID (left side bay if possible)[/TD]
[TD]Number of levels (0-10)[/TD]
[TD]Level ID (A-J)[/TD]
[/TR]
[TR]
[TD]Bay to left[/TD]
[TD]10[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD]A[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD]C[/TD]
[/TR]
</tbody>[/TABLE]


I am trying to do this just straight excel rather than VBA.
Then end goal is for this to be able to work on a tablet or laptop.

Any help is appreciated
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Is this what you need? Copy the formula down. If you need to insert rows to make room then you will need to use VBA.

Book1
ABC
1Rack ID (left side bay if possible)Number of levels (0-10)Level ID (A-J)
2Bay to left10
3A
4B
5C
6D
7E
8F
9G
10H
11I
12J
Sheet1
Cell Formulas
RangeFormula
C3=IF(ROWS(C$3:C3)>$B$2,"",CHAR(65+ROWS(C$3:C3)-1))
 
Upvote 0
Scott,

You rock, I have been fighting with this for a couple days just not sure how to work it outright.
Thank You
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,327
Members
452,635
Latest member
laura12345

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