Basic functions
1. Basic functions
To create a formula, select a cell and type equals to begin. Google Sheets may suggest one or more functions or ranges for the formula based on the data in the sheet once you begin typing. Type equals into cell C11 to show how Google Sheets suggests an appropriate sum formula for the column. This function box will show the functions based on what has been typed, along with a brief explanation of the functions purpose. Type the open parentheses key to begin selecting a range to apply the formula to. A range can be selected by typing the beginning and ending addresses of the cells in the range, clicking and dragging to select the cells, or by using the arrow keys on the keyboard of your device. To select cells that are not adjacent for the range, hold the Ctrl key on Windows or Command key on Mac OS, and select the cells for the range. As cells are selected for the range, they will be highlighted in the color that their address appears in as part of the formula for easy identification. The formula will also appear and can be edited in the formula bar at the top of the sheet. Functions can also be added to the sheet by selecting functions in the toolbar and selecting one from the menu. While Google Sheets supports many different functions, there are several that are frequently used to make calculations in a spreadsheet. The simplest and possibly most utilized function is sum. Sum returns a sum of the series of numbers and/or cells. Suppose we want to see the sum of the sales for January. Select cell C11, and begin by invoking the function by typing equals sum. Add the range inside parentheses separated by a colon: (C3:C10) The resulting formula will appear as: equals sum (C3:C10) in cell C11, the total of the cells will appear. In fact, a preview of the result of the formula will appear. To apply the formula, hit enter. Selecting that number will display the formula that produced it in the formula bar where it can be modified. Did you notice that Google Sheets actually suggested that formula for me once I started to type into the cell I11? We could repeat the process for all other months, but we can also copy the formula across by simply dragging cell C11 across. Drag the cell C11 to the right as far as N11. Type total sales into A11 to ensure we know what the values in this row represent. Another common function is average. Average returns the numerical average value in a data set, ignoring text. Using the previous example, a formula using average would look like: equals average (C3:C10) Type average into cell O1, then add the formula: average (C3:N3) into cell O3. Note how Sheets suggests the cell range. Before, we were able to drag the total for January across to populate all months. Similarly, we can populate the averages. This time, we can simply double click on the bottom right of cell O3, and this will fill down the formula for us. Sheets will automatically stop at the row where the formula is no longer relevant. Delete the contents of cell O11, and make row 11 and column O bold.2. Let's practice!
Create Your Free Account
or
By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.