Data Analyst Full Course for Beginners | Part 2: Formulas and Functions - I
Hello, everyone! How are you all? Today, we are diving into the second part of our series on Data Analysis. If you haven’t seen the first part yet, along with the roadmap I shared earlier, I strongly recommend watching them first to get a holistic understanding. The links will be in the description. Let’s get started with today’s session, which will focus on Formulas and Functions in spreadsheets.
Before we proceed to complex topics like VLOOKUP and HLOOKUP in the next session, we’ll solidify our understanding of basic operators and their usage. I’ve also prepared a downloadable practice sheet to help you follow along.
What Are Formulas?
A formula is an expression used in spreadsheet cells to perform calculations or operations. Every formula starts with an =
sign, followed by the desired operation. Formulas can include references to other cells, operators, or functions to generate results.
Basic Operators in Formulas:
Exponential (
^
) – UseShift + 6
to denote power.Multiplication (
*
) – Represented as*
.Division (
/
) – Represented as/
.Addition (
+
) – Represented as+
.Subtraction (
-
) – Represented as-
.Concatenation (
&
) – Joins two text values into one.Comparison Operators:
Equal to (
=
)Less than (
<
)Greater than (
>
)
Operator Precedence (BODMAS Rule):
Like mathematical operations, formulas follow the BODMAS rule:
Brackets
Orders (Exponential)
Division and Multiplication
Addition and Subtraction
Example:
If you type =2 + 3 * 4
, the multiplication happens first, so the result is 14
(not 20
).
Cell Referencing in Formulas
Instead of hardcoding values, you can reference other cells to make your formulas dynamic and reusable.
Example:
Manual Calculation:
Typing
=2 + 3
gives5
.
Cell Referencing:
If
A1
has2
andA2
has3
, typing=A1 + A2
inA3
will also give5
.If you update
A1
orA2
,A3
will automatically recalculate the result.
Arithmetic Operations Examples
Operation | Formula | Result |
---|---|---|
Addition | =A1 + A2 | Sum |
Subtraction | =A1 - A2 | Difference |
Multiplication | =A1 * A2 | Product |
Division | =A1 / A2 | Quotient |
Exponential | =A1 ^ A2 | Power |
Functions in Spreadsheets
A function is a predefined formula that simplifies specific calculations. Functions save time and are more efficient than manual calculations.
Why Use Functions?
Save time with built-in operations.
Reduce the chances of errors.
Provide versatility for large datasets.
Common Types of Functions:
Aggregate Functions: Perform calculations like SUM, AVERAGE, MAX, MIN, COUNT.
Logical Functions: Return results based on conditions (IF, AND, OR, NOT).
Text Functions: Manipulate text values.
Date & Time Functions: Handle date and time operations.
Examples of Aggregate Functions:
SUM: Adds values.
Formula:
=SUM(A1:A10)
AVERAGE: Finds the mean.
Formula:
=AVERAGE(A1:A10)
COUNT: Counts non-empty cells.
Formula:
=COUNT(A1:A10)
MAX: Finds the highest value.
Formula:
=MAX(A1:A10)
MIN: Finds the lowest value.
Formula:
=MIN(A1:A10)
Logical Functions:
Logical functions allow you to perform checks and return results based on conditions.
Common Logical Functions:
IF:
Syntax:
=IF(condition, value_if_true, value_if_false)
Example:
=IF(A1>10, "Yes", "No")
AND:
Syntax:
=AND(condition1, condition2)
Example:
=AND(A1>10, B1<5)
OR:
Syntax:
=OR(condition1, condition2)
Example:
=OR(A1>10, B1<5)
NOT:
Syntax:
=NOT(condition)
Example:
=NOT(A1>10)
Assignment for Practice
To strengthen your understanding, try these tasks on the provided spreadsheet:
Use SUM to calculate the total.
Find the AVERAGE of a column.
Use IF to check if values are greater than a threshold.
Use AND/OR to test multiple conditions.
Download the practice sheet and share your results at careers@hjobs.in
Conclusion
In this session, we explored the basics of formulas and functions in spreadsheets, which form the backbone of data analysis. Mastering these will prepare you for more advanced topics like VLOOKUP and HLOOKUP, which we’ll cover in the next part. Don’t forget to practice and share your doubts in the comments or our community forum.