Basic math problem generator with Google Sheets Create a spreadsheet. Set the name of the Sheet to Basic Math Generator. The generator uses a function called RANDBETWEEN. This function selects a random number from a provided range. The range has a lower number and an upper number. Type the title Addend 1 in cell A1. Type the title Addend 2 in cell C1.