GCFLearnFree.org

This class was exactly what I needed for my job.”

Online Learner

GCFGlobal.org
Creating Opportunities For A Better Life.®
  • All Topics
  • Google Sheets
  • Working with Functions

Google Sheets

Single page view print copy

Working with Functions

Creating a function

Google Spreadsheets has a variety of functions available. Here are some of the most common functions you'll use:

  • SUM: The SUM function adds all of the values of the selected cells in the argument. This function is useful for quickly adding values in a range of cells.
  • AVERAGE: The AVERAGE function will find the average of the values included in the argument. It calculates the sum of the cells and then divides the sum by the number of cells in the argument.
  • COUNT: Using the COUNT function will display the number of cells that have been included in the argument. This function is useful for quickly counting items on the sheet.
  • MAX: The MAX function displays the highest cell value included in the argument.
  • MIN: The MIN function displays the lowest cell value included in the argument.

To create a function:

  1. Select the cell where the answer will appear (for example, cell C15).
  2. Type the equals sign (=), then type the desired function name (for example, AVERAGE).
    Screenshot of Google SpreadsheetsTyping a function
  3. Enter the cells for the argument inside the parentheses (for example, C5:C14).
    Screenshot of Google SpreadsheetsEntering the argument
  4. Press the Enter key on your keyboard, and the answer appears.
    Screenshot of Google SpreadsheetsThe answer

Google Spreadsheets will not always tell you if your function contains an error, so it's up to you to check all of your functions. To learn how to do this, read our article on why you should Double-Check Your Excel Formulas.

To create a function using the Function button:

The Function button allows you to automatically return the results for a range of cells. The answer will display in the cell below the range.

  1. Select the range of cells you wish to include in the argument (for example, D21:D27).
    Screenshot of Google SpreadsheetsSelecting a range of cells
  2. Click the Functions button, then select the desired function from the drop-down menu (for example, SUM).
    Screenshot of Google SpreadsheetsSelecting SUM
  3. In the cell directly below the selected cells, the function appears.
    Screenshot of Google SpreadsheetsThe function in the adjacent cell
  4. Press the Enter key on your keyboard, and the answer appears.
    Screenshot of Google SpreadsheetsThe answer

Like formulas, functions can be copied to adjacent cells. Select the cell that contains the function, and the fill handle displays. Click, hold, and drag the fill handle over the cells you wish to fill.

Screenshot of Google SpreadsheetsCopying a function into multiple cells
previous next
previous 1 2 3 4 5 next
Terms Of Use

©1998-2014 Goodwill Community Foundation, Inc. All rights reserved.