In a spreadsheet, a function allows you to compute the contents from several cells together. There are many types of functions that you can use, we will explore the two most common: SUM and AVERAGE. SUM is by far the most commonly used function, with AVERAGE being a distant second. There are many specialized functions but these two are the overwhelming majority.