Excel Formulas and Functions_ A Detailed Guide
Excel Formulas and Functions_ A Detailed Guide
Detailed Guide
Introduction
Microsoft Excel is a powerful tool for data analysis and organization, but its true strength lies
in its formulas and functions. This lesson provides a step-by-step guide for understanding
and using Excel formulas effectively.
A formula is an expression used to perform calculations in Excel. Every formula starts with
an equals sign (=). This tells Excel to calculate something rather than treat it as text.
A cell reference points to a specific cell or range of cells in Excel. Using cell references
makes formulas dynamic, meaning they update automatically when the referenced data
changes.
Types of Cell References
AVERAGE
IF
Performs a logical test and returns different values for TRUE and FALSE.
VLOOKUP
Searches for a value in the first column of a range and returns a value in the same row from
another column.
Example Scenario
Suppose you have the following table:
A B C
In our case we can use this formula for finding a risk score for a specific PM from the first
column.
VLOOKUP always searches for a value in the first column and retrieves data from a column to
the right.
TRIM
● Syntax: =TRIM(text)
● Example: =TRIM(" Hello ") returns "Hello".
NOW
● Syntax: =NOW()
1. Select the cell where you want the result to appear.
2. Start with an equals sign (=).
3. Enter your formula using cell references and operators.
○ Example: =A1+B1*C1 calculates A1 + (B1 * C1).
4. Press Enter.
Parentheses control the order of operations. Excel follows the BODMAS rule (Brackets,
Orders, Division/Multiplication, Addition/Subtraction).
● Comma (,): Separates arguments in most functions (e.g., =SUM(A1, B1, C1)).
● Semicolon (;): Used in certain regional settings.
○ Example: =SUM(A1; B1; C1).
Double Quotes
Empty String:
● An empty string ("") is used to represent a blank cell or an empty value in a formula.
It can be used to return nothing as a result, or as a condition in functions.
● Example: =IF(A1 > 10, "Yes", "") – This formula returns "Yes" if the value in
cell A1 is greater than 10, and an empty string (blank) if it is not.
Text Values:
● When you want to input text into a formula, it must be enclosed in double quotes.
● Example: =CONCATENATE("Hello, ", A1) – This formula combines the word
"Hello, " with the value in cell A1.
Representing Quotation Marks:
● To include a double quote within a string of text in Excel, you need to use two double
quotes ("").
● Example: ="She said, ""Hello!""" – This formula will display the text She
said, "Hello!".
Conditional Formulas:
6. Practice Exercises
Exercise 1: Basic Calculations