I have a spreadsheet that tracks money raised by students for a fundraiser. Among other things, the sheet calculates how many entries into the prize drawing each student receives. Students earn up to 20 entries.
I now need to assign a number to each drawing entry, so we can use RANDBETWEEN to pick the winners. Is there a function or macro that would allow me to type 1-5, but populate the field with 1,2,3,4,5? Even better would be an option that uses the last number of the previous entry and the number of entries earned to complete the sheet automatically. The first 68 students were calculated manually in about an hour resulting in nearly 700 drawing entries. There are another 232 students to do. Any time saving functions or macros would be appreciated.
I am using 4.2.2 for OSX.
ADDITIONAL INFO: The sheet calculates the number of entries in the Ticket column based on money raised. Each entry must be assigned a unique number for the drawing in the Ticket Numbers column. Currently, we have to input the numbers manually, but I was wondering if there was a way to shortcut that data entry and to ensure that there are no mistakes, such as double assigning a number or not giving a student enough entries.
For example, if Student A earns 5 Tickets, then the Ticket Numbers entered would be 1 2 3 4 5.
Then, if Student B earns 8 Tickets, the Ticket Numbers entered would be 6 7 8 9 10 11 12 13.
And, if Student C earns 12 Tickets, the Ticket Numbers entered would be 14 15 16 17 18 19 20 21 22 23 24 25.