Introduction to Advanced Excel Formulas and Text Functions
Introduction to Advanced Excel Formulas and Text Functions
ADVANCED EXCEL
FORMULAS AND TEXT
FUNCTIONS
1 2 3
- Understand and - Apply text - Combine logical
use the IF, AND, functions such as and text
and OR functions LEFT, RIGHT, functions to solve
in Excel. MID, and complex data
CONCATENATE. problems.
IF FUNCTION
- Purpose:
Perform logical - Syntax:
- Example:
tests and return IF(logical_test,
=IF(A1 > 50,
different values value_if_true,
"Pass", "Fail")
based on the value_if_false)
result.
AND FUNCTION
- Syntax: AND(logical1,
[logical2], ...)
- Purpose: Test
multiple
- Syntax: - Example:
conditions,
OR(logical1, =OR(A1 > 50,
returning TRUE if
[logical2], ...) B1 < 100)
any condition is
true.
TEXT FUNCTIONS
- Example: =LEFT(A1, 3)
- Purpose: Extract a
specified number of
characters from the end of
a text string.
- Example: =RIGHT(A1, 4)
- Purpose: Extract
characters from the
middle of a text
string.
- Syntax: MID(text,
MID start_num,
FUNCTION num_chars)
- Example:
=MID(A1, 2, 5)
CONCATENATE
FUNCTION
- Scenario:
Validate a product 1. First character
- Criteria:
code based on must be "A".
specific criteria.
- Combined
Formula:
=IF(AND(LEFT(A1,
2. Length must be 3. Numeric part
1) = "A", LEN(A1)
4 characters. must be > 100.
= 4, MID(A1, 2, 3)
> 100), "Valid",
"Invalid")
PRACTICE EXERCISES