The Flippity.net add-on lets you automate many tasks from Google Spreadsheet.
In the video below, I show how to create a script for randomly selecting a student in your class. The best thing about the created app, is that it also works on your iPad. You can save it to your Home Screen of your tablet or smart phone for easy access.