Topics in this sectionFormula and Functions12 topics
Entering Formulas in a Spreadsheet
When you work with numbers in a spreadsheet, you often need to perform calculations. Rather than doing the math yourself, you can write a formula that the spreadsheet calculates for you automatically. Every formula in a spreadsheet begins with an equals sign (=).
Imagine you run a small shop in Juba's K Street Market. You sell a 50-kilogram bag of sorghum for 8,500 South Sudanese pounds (SSP), and you want to know how much profit you make after buying it for 6,000 SSP. Instead of calculating this yourself each time, you can write a formula that does it for you. If the selling price is in cell B2 and the cost price is in cell B3, the formula =B2-B3 will instantly give you the profit.
Every formula must begin with the equals sign (=). This tells the spreadsheet that what follows is a calculation, not plain text. Without the equals sign, the spreadsheet will treat your formula as regular text and won't calculate anything.
For example:
- =A7+A9 adds the value in cell A7 to the value in cell A9
- =A7-A9 subtracts the value in A9 from the value in A7
- =A7*A9 multiplies the two values
- =A7/A9 divides A7 by A9
- =A7^A9 raises A7 to the power of A9
The symbols that tell the spreadsheet what mathematical operation to perform are called operators:
| Operator | What it does | Example |
|---|---|---|
| + | Addition (adding) | =B2+B3 |
| - | Subtraction (taking away) | =B2-B3 |
| * | Multiplication (times) | =B2*B3 |
| / | Division (sharing) | =B2/B3 |
| ^ | Exponents (power of) | =B2^B3 |
Notice that multiplication uses an asterisk (*) and not the letter x. Division uses a forward slash (/).
When you write a formula with more than one operator, the spreadsheet doesn't just read from left to right. It follows a special order called operator precedence — the same rule you may have learned in mathematics class.
The order is:
- Anything in parentheses ( ) is calculated first
- Then exponents (^)
- Then multiplication and division (left to right)
- Finally, addition and subtraction (left to right)
Consider this formula: =5 + 2 * 2 ^ 3 - 1
The spreadsheet calculates it step by step:
- First, it works out the exponent: 2 ^ 3 = 8
- Formula becomes: =5 + 2 * 8 - 1
- Then multiplication: 2 * 8 = 16
- Formula becomes: =5 + 16 - 1
- Finally, addition and subtraction: 5 + 16 - 1 = 20
You can change this order by using parentheses. For example:
- =5 + (2 * (2 ^ 3)) - 1 = 20
- =(5 + 2) * 2 ^ 3 - 1 = 55
This is useful when you need the spreadsheet to calculate in a specific order.
Method 1: Typing the Cell References
You can simply type the cell addresses directly into the formula. For example, to add the values in cells B2, B3, B4, and B5, you would click on cell B6, type =B2+B3+B4+B5, and press Enter. The answer appears immediately in cell B6, while the formula remains visible in the formula bar at the top of the screen.
Method 2: Using Point Mode
Instead of typing cell addresses, you can click on each cell with your mouse or use the arrow keys:
- Click on the cell where you want the answer to appear (for example, B6).
- Type the equals sign (=).
- Use the up arrow key to move to cell B5, or click on B5 with your mouse.
- Type the plus sign (+).
- Use the arrow key or mouse to add cells B4, B3, and B2 in the same way.
- Press Enter when finished.
This method is helpful because it reduces typing mistakes — you can see exactly which cell you are selecting.
Imagine you are helping manage stock at a county school supply store in Wau. You have a worksheet that lists items, their costs, and their selling prices:
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Item | Cost (SSP) | Selling Price (SSP) | Profit (SSP) | |
| 2 | Sorghum (50kg) | 6000 | 8500 | ||
| 3 | Dura (25kg) | 3500 | 5000 | ||
| 4 | Groundnuts (10kg) | 4200 | 6500 |
To calculate the profit in cell E2, you would:
- Click on cell E2.
- Type =C2-B2 (selling price minus cost).
- Press Enter.
- The result (2500) appears in cell E2.
- To calculate profit for the other items, click on cell E2, copy the formula (Ctrl+C), select cells E3 and E4, and paste (Ctrl+V). The formula adjusts automatically to C3-B3 and C4-B4.
Create your own practice worksheet:
- Open a new spreadsheet workbook.
- Set up the following worksheet:
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Item | Quantity | Unit Price (SSP) | Total Value (SSP) | |
| 2 | Charcoal (bags) | 20 | 2500 | ||
| 3 | Firewood (bundles) | 35 | 800 | ||
| 4 | Candles (pieces) | 100 | 150 |
- In cell E2, enter the formula =B2*C2 to calculate the total value of charcoal.
- Press Enter and see the result.
- Copy the formula down to cells E3 and E4.
- Save your workbook with the filename STOCK.
In daily life across South Sudan, small business owners and school administrators frequently use spreadsheets to track sales and expenses. A trader at the Malakal weekly market calculating the total earnings from selling sorghum, maize, and groundnuts can use formulas like =B2*C2 to instantly find out total income per item. A hospital administrator in Juba might use formulas to calculate medicine inventory levels or patient meal costs. Knowing how to enter formulas with the equals sign helps you work faster and avoid calculation mistakes when managing any kind of numbers — whether for a school project, a family shop, or a community organization.
Question
What symbol must you type first when creating a formula in a spreadsheet?
Sign in to submit your answer and have it count toward your mastery.
Sign in to practiceTutor
Stuck? Ask me anything about this topic.
Sign in to ask the Sonza AI Tutor about this question.
Sign in to askDiscussions
No questions yet