Quantcast
Channel: Active questions tagged excel - Stack Overflow
Viewing all articles
Browse latest Browse all 88087

How to automate the creation of a list based on an integer input in Excel

$
0
0

This is undoubtedly a very simple problem, but I don't have much experience with coding in Excel.

In this example, I would like the user to input the # of students into cell B3.

After inputting the # into the cell (for example, if the person input 5), I would like to create that number of rows from A4-A9 based on the notation Student_# (Student_1, Student_2, Student_3, Student_4, Student_5).

If the person put in 10, I would like there to be 10 rows of Student_1 through Student_10 (updated automatically).

The "Student_" will be static as this is an unidentified list, I'd just like to create the number of rows based on this initial input value.

Thanks in advance for any help.

Example Image


Viewing all articles
Browse latest Browse all 88087

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>