Hi,
Middle school teacher here. I'd like to create a way to hit F9 to select a student at random from my classroom roster. Currently I am typing in and selecting the row of names and changing the formula every hour to just select a student at random, but it does repeat often.
Is there a way to set up the spreadsheet so I can select one of 5 class hours, and then it allows me to return a random student from that hour?
My current function is this: INDEX(E2:E30,RANDBETWEEN(1,29)) so I have to change the column each hour, and then the randbetween numbers as well.
Below I tried to set up a blue print of what I'm after
[TABLE="width: 500"]
<tbody>[TR]
[TD]1st hour[/TD]
[TD]2nd hour[/TD]
[TD]3rd hour[/TD]
[TD]4th hour[/TD]
[TD]5th hour[/TD]
[/TR]
[TR]
[TD]student 1[/TD]
[TD]student 1[/TD]
[TD]student 1[/TD]
[TD]student 1[/TD]
[TD]student 1[/TD]
[/TR]
[TR]
[TD]student 2[/TD]
[TD]student 2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Select hour[/TD]
[TD](choices 1,2,3,4,5)[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Random student form hour select[/TD]
[TD](Name of random student)[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Middle school teacher here. I'd like to create a way to hit F9 to select a student at random from my classroom roster. Currently I am typing in and selecting the row of names and changing the formula every hour to just select a student at random, but it does repeat often.
Is there a way to set up the spreadsheet so I can select one of 5 class hours, and then it allows me to return a random student from that hour?
My current function is this: INDEX(E2:E30,RANDBETWEEN(1,29)) so I have to change the column each hour, and then the randbetween numbers as well.
Below I tried to set up a blue print of what I'm after
[TABLE="width: 500"]
<tbody>[TR]
[TD]1st hour[/TD]
[TD]2nd hour[/TD]
[TD]3rd hour[/TD]
[TD]4th hour[/TD]
[TD]5th hour[/TD]
[/TR]
[TR]
[TD]student 1[/TD]
[TD]student 1[/TD]
[TD]student 1[/TD]
[TD]student 1[/TD]
[TD]student 1[/TD]
[/TR]
[TR]
[TD]student 2[/TD]
[TD]student 2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Select hour[/TD]
[TD](choices 1,2,3,4,5)[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Random student form hour select[/TD]
[TD](Name of random student)[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]