Skip to main content

Welcome to a Grasp lesson

Create a free account to keep studying and create your own study path.

Lesson 18

Spreadsheet Arithmetic: Formulas for Calculation

Recommended resources

Hello! Welcome to the first lesson of our fourth module, "Formulas, Functions, and Data Integrity."

In our last lesson, we established the fundamental difference between an active cell and an active worksheet. You learned that all data entry and formatting happens in a single active cell on a specific active worksheet. This distinction is crucial because the formulas we will build today must be placed in the correct cell to work properly.

Today, we'll dive into the real power of spreadsheets. The learning outcome for this lesson is to construct and apply basic arithmetic formulas to perform calculations on spreadsheet data. You will learn how to turn a static grid of numbers into a dynamic calculator that automatically updates results, a core skill for any accounting task in a spreadsheet.

Let's begin by defining what a formula is.

1. The Anatomy of a Formula

In a spreadsheet, a formula is an expression that calculates the value of a cell. The most important rule to remember is: Every formula must begin with an equal sign (=). This sign tells the spreadsheet program, "Don't just display the following text; calculate it!"

A simple formula consists of two main parts:

  • Constants or Cell References: The values you want to calculate. These can be numbers you type directly (e.g., 100, 5.5) or, more powerfully, references to other cells (e.g., A1, B2).
  • Operators: The symbols that specify the calculation to be performed.

The standard arithmetic operators are:

  • + (Addition)
  • - (Subtraction)
  • * (Multiplication)
  • / (Division)
  • ^ (Exponentiation, i.e., "to the power of")

Create a simple formula in Excel

Let's start with a quick, official guide from Microsoft that explains how to create a simple formula. It covers the essential role of the equal sign and provides clear examples of operators.

Read the main text under the title, which explains how to start a formula with '='. Then, scroll down to the table under the 'Data' heading to see examples of each arithmetic operator being used with both constants and cell references.


2. Using Cell References: The Key to Dynamic Spreadsheets

While you can write a formula like =100 + 50, this is not very efficient. If the numbers you're working with change, you have to manually edit the formula. A much better approach is to use cell references.

Instead of typing the numbers, you refer to the cells that contain the numbers. For example, if cell A1 contains 100 and cell B1 contains 50, your formula would be =A1+B1.

The major advantage is that if you later change the value in A1 to 150, the cell containing your formula will automatically update to show the new result (200). This dynamic capability is what makes spreadsheets indispensable for accounting.

This video provides an excellent demonstration of why cell references are superior to hard-coding values.

Excel Formulas and Functions | Full Course

This video from Kevin Stratvert clearly illustrates the difference between a static formula with hard-coded numbers and a dynamic formula using cell references.

Watch from 00:00:39 to 00:05:30. Pay close attention to how he first builds a formula with numbers and shows its limitation, then rebuilds it using cell references to demonstrate how the total updates automatically when the source data changes.

Here is a simple visual of a formula that multiplies the values from two other cells.

Basic Spreadsheet Multiplication Formula
In this image, cell C2 contains the formula `=A2*B2`. It multiplies the value in cell A2 (12) by the value in cell B2 (4). The result, 48, is displayed in cell C2, while the formula itself is visible in the formula bar at the top.

3. Order of Operations

When a formula has multiple operators (e.g., =A1+B1*C1), the spreadsheet doesn't just calculate from left to right. It follows a standard mathematical rule called the order of operations, which you may remember by the acronym BODMAS or PEMDAS.

  1. Brackets / Parentheses ()
  2. Orders / Exponents ^
  3. Division * and Multiplication / (from left to right)
  4. Addition + and Subtraction - (from left to right)

For example, in the formula =10+5*2, the spreadsheet will perform multiplication first (5*2 = 10) and then addition (10+10 = 20).

If you want to force a different order, you must use parentheses (). The expression inside the parentheses is always calculated first. For instance, =(10+5)*2 would result in 15*2 = 30. Getting this right is critical for accurate accounting calculations.

Excel Formulas and Functions | Full Course

Let's return to Kevin Stratvert's video, where he gives a perfect, easy-to-understand example of why the order of operations is so important and how parentheses can change the result.

Watch the section from 00:12:39 to 00:14:36. He shows how a tax calculation gives an incorrect result without parentheses and then corrects it. This is a very common scenario in financial calculations.

Your official textbook also covers this rule, which is a good one to review for exam purposes.

Chapter 02 Spreadsheet - SATHEE - IIT Kanpur

The official NCERT textbook reinforces this concept. It provides a useful table summarizing the order of operations.

Read the section 2.1.2 FORMULAS. Focus on the part titled 'Order of mathematical operations (expressions)' and the table that presents the acronyms for remembering the order.


4. Application: Building an Accounting Calculation

Now let's see how these simple arithmetic formulas are combined in a practical accounting context. A common task is to create a payroll summary. You might start with a basic salary and then calculate various allowances and deductions based on that salary.

The following video demonstrates how to build a payroll sheet using multiple simple arithmetic formulas.

Computerized Accounting | SPREADSHEET | Class-12 | ISC | Section C | Accounts | Shubham Jagdish

In this video, Shubham Jagdish walks through a detailed payroll calculation. It's a more complex example, but it's built entirely from the simple arithmetic principles we've just discussed.

Watch from 58:15 to 01:00:18. Observe how he calculates 'Provident Fund' (=Basic Salary * 12%) and 'Gross Salary'. For Gross Salary, notice how he combines multiple cell references using addition and subtraction (=B2+C2+D2+E2+F2+G2-H2). This is a perfect example of applying formulas to an accounting problem.

One of the most frequently used tools for basic arithmetic is the SUM function, which is a shortcut for adding a series of numbers. Instead of typing =A1+A2+A3+A4+A5, you can simply type =SUM(A1:A5).

Excel SUM Function Demonstration
This image shows the `SUM` function being used to add the values in cells A1 through A5. The formula `=SUM(A1:A5)` in cell A8 produces the result 239. This is much more efficient than adding each cell individually.

Exam-Style Practice

For your CBSE exam, you might be given a scenario and asked to write the correct formula.

Question (2 Marks):
A spreadsheet contains the following data for a product:

  • Cell B2: Selling Price per unit (₹150)
  • Cell B3: Number of units sold (200)
  • Cell B4: Cost per unit (₹90)

Write the formula to be entered in cell B5 to calculate the total profit.

Model Answer:
The formula to calculate total profit is: =(B2*B3)-(B4*B3)

  • B2*B3 calculates the total revenue.
  • B4*B3 calculates the total cost.
  • Subtracting total cost from total revenue gives the total profit.

Alternatively, a more simplified formula could be: =(B2-B4)*B3

  • B2-B4 calculates the profit per unit.
  • Multiplying profit per unit by the number of units sold gives the total profit.
    Both formulas are correct due to the distributive property of multiplication and will yield the same result. The use of parentheses ensures the operations are performed in the correct order.

Conclusion

Excellent work! You've just learned the single most powerful feature of a spreadsheet: its ability to perform calculations using formulas. Mastering this skill is the first major step toward using spreadsheets for serious accounting work.

Key Takeaways:

  • All formulas must begin with an equal sign (=).
  • Formulas use arithmetic operators (+, -, *, /, ^) to perform calculations.
  • Using cell references (e.g., A1, B2) instead of hard-coded numbers makes your spreadsheet dynamic and powerful.
  • Spreadsheets follow the order of operations (BODMAS/PEMDAS). Use parentheses () to control the calculation order.

In our next lesson, we will build upon this foundation. You'll learn how to make your formulas "smarter" by adding decision-making logic with the IF function, and we'll explore the PMT function to handle common financial calculations like loan payments—both of which are key topics for your exam.