Skip to main content

Lesson 3.1 – How Formulas Work

Lesson 3.1 – How Formulas Work

Formulas are the core of Excel. They allow you to perform calculations, analyze data, and automate tasks. Every formula in Excel follows a simple structure and always begins with an equal sign (=). Understanding how formulas work is essential before learning specific functions.


1. The Structure of a Formula

All Excel formulas follow this basic pattern:

=operand operator operand

Example:

  • =5 + 3
  • =A1 * B1
  • =SUM(A1:A10)

Excel calculates the result and displays it in the cell, while the formula remains visible in the Formula Bar.


2. The Equal Sign (=)

Every formula must start with =. Without it, Excel treats the entry as text.

Examples:

  • =10+5 → Excel calculates
  • 10+5 → Excel shows “10+5” as text

3. Operators in Excel

Operators tell Excel what type of calculation to perform.

Operator Meaning Example
+ Addition =A1 + B1
- Subtraction =A1 - B1
* Multiplication =A1 * B1
/ Division =A1 / B1
^ Exponent =A1 ^ 2

4. Order of Operations (PEMDAS)

Excel follows a specific order when calculating formulas:

  1. Parentheses
  2. Exponents
  3. Multiplication and Division
  4. Addition and Subtraction

Example:

=2 + 3 * 4

Excel calculates 3 * 4 first → result = 14 To force addition first:

=(2 + 3) * 4

Result = 20


5. Cell References

Instead of typing numbers directly, formulas usually refer to cells.

Examples:

  • =A1 + B1
  • =A2 * 10
  • =SUM(A1:A10)

This makes formulas dynamic — if the cell value changes, the formula updates automatically.


6. Formula Errors

Excel displays error codes when something goes wrong.

Error Meaning
#DIV/0! Division by zero
#VALUE! Wrong data type
#NAME? Misspelled function
#REF! Invalid cell reference

7. Practical Exercise

Practice basic formulas with the following steps:

  1. Create a worksheet named Lesson_3_1_Practice.
  2. Enter numbers in cells A1, A2, A3.
  3. Create formulas for addition, subtraction, multiplication, and division.
  4. Use parentheses to change the order of operations.
  5. Experiment with cell references instead of typing numbers.
  6. Trigger and fix a #DIV/0! error.

Next Lesson

Lesson 3.2 – Relative vs Absolute References

Comments

Popular posts from this blog

Alfred Marshall – The Father of Modern Microeconomics

  Welcome back to the blog! Today we explore the life and legacy of Alfred Marshall (1842–1924) , the British economist who laid the foundations of modern microeconomics . His landmark book, Principles of Economics (1890), introduced core concepts like supply and demand , elasticity , and market equilibrium — ideas that continue to shape how we understand economics today. Who Was Alfred Marshall? Alfred Marshall was a professor at the University of Cambridge and a key figure in the development of neoclassical economics . He believed economics should be rigorous, mathematical, and practical , focusing on real-world issues like prices, wages, and consumer behavior. Marshall also emphasized that economics is ultimately about improving human well-being. Key Contributions 1. Supply and Demand Analysis Marshall was the first to clearly present supply and demand as intersecting curves on a graph. He showed how prices are determined by both what consumers are willing to pay (dem...

Part I: Getting Started with SQL Chapter 2: Setting Up Your Environment

  Chapter 2: Setting Up Your Environment Before you write your first query, it’s essential to install and configure a relational database on your workstation. A solid environment ensures you spend time learning SQL—not battling installation errors. In this chapter, we’ll: Compare four popular RDBMS options Walk through installation on Windows, macOS, and Linux Demonstrate how to connect via command-line and graphical tools Load a sample database so you can start querying immediately By the end, your machine will be a fully functional SQL playground. 1. Choosing an RDBMS: MySQL, PostgreSQL, SQLite, SQL Server Different relational database systems excel in different scenarios. Here’s a quick comparison to help you pick one: Feature MySQL PostgreSQL SQLite SQL Server Use case Web apps, LAMP stacks Analytics, GIS, advanced SQL Lightweight, embedded apps Enterprise .NET, Windows ecosystems Licensing GPL (Community) / Commercial (Enterprise) Open Source (PostgreSQL License) Public domain...

“This Sentence Is False”: The Liar Paradox, from Ancient Crete to Modern Code

 “All Cretans are liars,” said the Cretan Epimenides.  “This sentence is false,” echoes every logic textbook.  We’re still arguing 2,600 years later—and the paradox is winning.   _____________________________  /                             \ |   “THIS SENTENCE IS FALSE.”  |  \_____________________________/               |               |  self-reference               v    +---------------------------+    |  Truth flips back on     |    |  itself — paradox loop!  |    +---------------------------+ 1. Meet the Liar The classic one-liner: L: “This sentence is false.” If L is true, then what it asserts—its own falsity—must hold, so L is false. If L is false, then what it asserts isn’t the ca...