9.3 Creating and Using Basic Formulas in Google Sheets

Formulas are essential tools in any spreadsheet, allowing automatic calculations and data analysis to be carried out efficiently and accurately. Google Sheets offers a variety of formulas that can be used for different purposes. In this chapter, we will focus on the basic arithmetic formulas: addition, subtraction, multiplication, and division.

Sum

The sum function is one of the most used in spreadsheets. In Google Sheets, the basic formula for adding values ​​is =SUM(value1; value2; ...), where value1, value2, etc. ., can be numbers, cell references, or cell ranges. For example, to add the values ​​in cells A1 and B1, you would use the formula =SUM(A1; B1). If you want to sum a range of cells, say A1 to A10, the formula would be =SUM(A1:A10).

Subtraction

To subtract values, Google Sheets does not have a specific function like SUM. Instead, you simply use the minus sign (-) between the cells or values ​​you want to subtract. For example, to subtract the value in cell B1 from the value in cell A1, you would write =A1 - B1.

Multiplication

Multiplication is another basic operation that can be performed in Google Sheets. To multiply values, you use the asterisk sign (*). If you want to multiply the values ​​in cells A1 and B1, the formula would be =A1 * B1. As with sum, you can multiply multiple values ​​or cells, as in =A1 * B1 * C1.

Division

Division is performed in Google Sheets using the slash sign (/). If you want to divide the value in cell A1 by the value in cell B1, the formula would be =A1 / B1. It is important to remember that you cannot divide by zero as this will result in an error in your spreadsheet.

Combination of Operations

These operations can be combined to perform more complex calculations. For example, if you want to add the values ​​of two cells and then multiply the result by a third value, you could use a formula like =(A1 + B1) * C1. Note that the use of parentheses is essential to ensure that operations are performed in the correct order.

Relative and Absolute References

When you're working with formulas in Google Sheets, it's important to understand the difference between relative and absolute references. A relative reference is one that changes when the formula is copied to another cell. For example, if you have the formula =A1 + B1 in cell C1 and you copy it to cell C2, the formula will automatically adjust to =A2 + B2. In contrast, an absolute reference remains constant regardless of where the formula is copied. To create an absolute reference, you must add a dollar sign ($) before the column letter and/or row number, as in =$A$1 + B1.

Tips for Using Formulas

  • Check the Syntax: Always check that you have entered the formula correctly and that all parentheses are closed.
  • Use the Formula Bar: The formula bar at the top of the Google Sheets screen is a great tool for editing long or complex formulas.
  • Autocomplete: Google Sheets offers autocomplete suggestions as you type a formula, which can help you avoid mistakes.
  • Test with Example Data: Before applying a formula to a large set of data, test it with a small number of cells to ensure it is working as expected.
  • Use Help Functions: If you're not sure how a formula works or what parameters it accepts, use Google Sheets' built-in help function for more information.

Conclusion

Knowing and understanding how to use basic arithmetic formulas is essential for anyone who wants to create effective spreadsheets. With practice, you will become more comfortable with these operations and can begin exploring more advanced formulas and Google Sheets features. Remember that experimentation and continuous practice are the keys to becoming proficient in using any software tool, including spreadsheets.

Now answer the exercise about the content:

Which of the following statements about using formulas in Google Sheets is correct?

You are right! Congratulations, now go to the next page

You missed! Try again.

Article image Creating and using basic formulas: Cell references (relative, absolute and mixed)

Next page of the Free Ebook:

13Creating and using basic formulas: Cell references (relative, absolute and mixed)

5 minutes

Obtenez votre certificat pour ce cours gratuitement ! en téléchargeant lapplication Cursa et en lisant lebook qui sy trouve. Disponible sur Google Play ou App Store !

Get it on Google Play Get it on App Store

+ 6.5 million
students

Free and Valid
Certificate with QR Code

48 thousand free
exercises

4.8/5 rating in
app stores

Free courses in
video, audio and text