Google Sheets is a spreadsheet application that allows you to keep track of data in a variety of ways. You can create custom sheets, or use the built-in sheets. Here are nine basic functions you should know about Google Sheets:
- Add Data: Add data to your sheet by clicking on the Add Data button. This will take you to a new sheet where you can enter data in various fields.
- Edit Data: To edit data on your sheet, click on the Edit Data button. This will take you to a new sheet where you can change the values of various fields.
- Delete Data: To delete data from your sheet, click on the Delete Data button. This will take you to a new sheet where you can delete all of the data in the sheet.
- Save Sheets As: To save your sheets as files, click on the Save Sheets As button. This will take you to a new page where you can choose which file format your sheets will be saved in.
- Print Out Your Sheets: To print out your sheets, click on the Print Out button at the bottom of each page of your sheet set up in Google Sheets. This will print out all of your data and leave behind any comments or notes that you may have entered into your sheets!
Functions are key components of spreadsheet applications like Google Sheets. But if you seldom use them, or you’re just beginning, they can feel overwhelming. For the most basic actions you’d perform, here are several simple Google Sheets functions.
1. Add Numbers: SUM
It doesn’t get more basic when working with numbers than adding them. Using the SUM function, you can add multiple numbers, add numbers in cells, or use a combination.
The syntax for the function is SUM(value1, value2,…) with value1 required and value2 optional.
To add the numbers 10, 20, and 30, you would use the following formula:
To add the numbers in the cells A1 through A5, you would use this formula:
2. Average Numbers: AVERAGE
Maybe you need to view the average of numbers or numbers in a range of cells. The AVERAGE function has you covered.
Similar to calculating average in Excel, the syntax for the Google Sheets function is AVERAGE(value1, value2,…) with value1 required and value2 optional.
To find the average of numbers 10, 20, and 30, you would use the following formula:
To find the average of the numbers in cells A1 through A5, use this formula:
3. Count Cells With Numbers: COUNT
If you’ve ever had to count cells, you’ll appreciate the COUNT function. With it, you can count how many cells in a range contain numbers.
The syntax for the function is COUNT(value1, value2,…) with value1 required and value2 optional.
To count the cells A1 through A5, you would use the following formula:
To count the cells A1 through A5 and D1 through D5, use the following formula:
You can also count data that matches criteria using COUNTIF in Google Sheets.
4. Enter the Current Date and Time: NOW and TODAY
If you want to see the current date and time each time you open your Google Sheet, you can use the NOW or TODAY function. NOW displays the date and time whereas TODAY displays only the current date.
The syntax for each is NOW() and TODAY() with no required arguments. Simply enter one or the other of the following in your sheet to display the date and time or just the date.
If you want the dates to appear in a certain format, you can set the default date format in Google sheets.
5. Remove Non-Printable Characters: CLEAN
When you import data from another location into your sheet, that data can include non-printable or ASCII characters like backspaces and returns. The CLEAN function removes both visible and invisible characters.
The syntax is CLEAN(text) with the text required.
To remove the non-printable characters from the text in cell A1, you would use this formula:
6. Remove White Space: TRIM
Another helpful function for tidying up your sheet is the TRIM function. Just like in Microsoft Excel, this function removes the white spaces in a cell.
The syntax is TRIM(text) where text can represent a cell reference or the actual text.
To remove the white space in cell A1, you would use the following formula:
To remove the white space from ” remove extra space ” use this formula:
RELATED: How to Use the TRIM Function in Microsoft Excel
7. Combine Text or Values: CONCATENATE and CONCAT
To combine strings, text, or values, you can use the CONCATENATE and CONCAT functions. The main difference between the two is that CONCATENATE offers more flexibility. For instance, you can combine words and insert spaces between them.
The syntax for each is CONCATENATE(string1, string2,…) and CONCAT(value1, value2) where all arguments except string2 are required.
To combine the values in cells A1 and B1, you can use the following formula:
To combine the words “How,” “To,” and “Geek” with spaces, you would use this formula:
To combine the values 3 and 5, you can use the following formula:
For more details on these two functions, take a look at our how-to for concatenating data in Google Sheets.
8. Insert an Image in a Cell: IMAGE
While Google Sheets provides a feature for inserting an image into a cell, the IMAGE function gives you extra options to resize it or set a custom height and width in pixels.
The syntax for the function is IMAGE(url, mode, height, width) with the URL required and the other arguments optional.
To insert an image with a URL as it is, you would use the following formula:
To insert the same image resized with a custom height and width, use this formula:
The 4 in this formula is the mode that allows the custom size of the image at 50 by 200 pixels.
For more help with how to resize images using the function, visit the Docs Editor Help page for the IMAGE function.
9. Validate an Email Address or Link: ISEMAIL and ISURL
Whether importing or entering data in Google Sheets, you may want to verify it is what it’s supposed to be. With ISEMAIL and ISURL, you can make sure the data is an email address or valid URL.
RELATED: How to Restrict Data to Email Addresses in Google Sheets
The syntax for each is ISEMAIL(value) and ISURL(value) where you can use a cell reference or text. The results of the validation display as TRUE or FALSE.
To check an email address in cell A1, you would use the following formula:
To check a URL in cell A1, use this formula:
To use text in the formula for either an email address or URL, simply enter it in quotes like this:
To go even further, take a look at how to use the AND and OR functions, take advantage of the QUERY function, or start using the IF function in Google Sheets.