Adding a cell-defined number of rows

tobyspencer

New Member
Joined
Mar 25, 2009
Messages
2
Hello.

I'm only a basic user of Excel but I need to produce what has turned out to be a workbook well beyond my scope, so I hope someone will be able to help me along the way.

My workbook will be used to store details of guests attending Christmas dinners at a local conference venue. The details will include their names, their choices of 3 starters, 3 main courses and 3 desserts. Ultimately the data will be exported into Word to allow different sheets to be printed off for the benefit of the different staff involved in the function.

The plan is to send the organiser for each company a workbook with 2 sheets; the first will be a simple sheet where they enter their company's name and the number of guests attending the party. The second sheet will contain a list available menu choices. What I would like to do is create a number of rows on the second sheet with place holder labels like Guest 1, Guest 2 etc but the number of rows created should be taken from the value of the number of guests on the first sheet. The organisers would then replace the place holder labels with the names of their guests and select the choice of starter, main and dessert courses.

Sheet 1: Simple enough. Even I can do this.

Sheet-1.jpg


Sheet 2: How do I insert a number of rows as defined by the first sheet?

Sheet-2.jpg


To add to my difficulties, the guest names should be split into groups of 10 as there will always be 10 guests per table.

Is this going to be possible? I apologise for the long post and hope that I've been clear in what I need from you guys.

Regards

Toby
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

Forum statistics

Threads
1,203,249
Messages
6,054,380
Members
444,721
Latest member
BAFRA77

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