I am trying to use a value from 1-256 to populate a table with 3 columns. The 3 columns are fixed and and it will always have 3. I have been looking but can't find something in excel to do this.

The goal of this program will be to reset each time they enter a different number of rows.

Please help, its for a project at school!!!