CoachnestCoachnest
Sign InGet Started
Back to course

Microsoft Excel Mastery: From Beginner to Data Pro

…
—
Contents
1

What Is Excel & Where It's Used

Reading10mFree
2

The Excel Interface: Ribbon, Cells & Sheets

Reading13mFree
3

Navigating & Selecting Like a Pro

Reading12m
4

Tour of the Excel Workspace

Video11m
5

Chapter 1 — Quiz

Quiz8m
6

Data Types: Text, Numbers, Dates & Booleans

Reading13m
7

Formatting Cells: Fonts, Borders & Colors

Reading14m
8

Number Formats: Currency, Percent & Custom

Reading13m
9

Working with Excel Tables

Reading14m
10

Chapter 2 — Quiz

Quiz8m
11

Your First Formulas & the Order of Operations

Reading14m
12

Relative, Absolute & Mixed References

Reading16m
13

Copying, Filling & AutoFill

Reading12m
14

Building a Calculation Sheet

Video13m
15

Chapter 3 — Quiz

Quiz9m
16

SUM, AVERAGE, COUNT, MIN & MAX

Reading14m
17

Function Syntax, Arguments & AutoComplete

Reading12m
18

Rounding & Math: ROUND, INT, ABS, MOD

Reading12m
19

Chapter 4 — Quiz

Quiz8m

IF, Nested IF & IFS

Reading15m
21

Conditional Aggregates: SUMIF, COUNTIF, AVERAGEIF

Reading14m
22

VLOOKUP & the Power of Lookups

Reading16m
23

XLOOKUP & INDEX/MATCH (Modern Lookups)

Reading16m
24

Chapter 5 — Quiz

Quiz10m
25

Text Functions: LEFT, RIGHT, MID, LEN, TRIM

Reading14m
26

Dates & Times: TODAY, DATEDIF, EOMONTH

Reading14m
27

Combining Text, Logic & Dates

Video12m
28

Chapter 6 — Quiz

Quiz8m
29

Sorting & Filtering Data

Reading13m
30

Data Validation & Dropdown Lists

Reading14m
31

Conditional Formatting & Removing Duplicates

Reading14m
32

Chapter 7 — Quiz

Quiz9m
33

PivotTables: Summarize Thousands of Rows in Seconds

Reading16m
34

Grouping, Slicers & Calculated Fields

Reading14m
35

Building a PivotTable Analysis

Video14m
36

Chapter 8 — Quiz

Quiz9m
37

Chart Types & When to Use Each

Reading14m
38

Formatting Charts & Sparklines

Reading13m
39

Building an Interactive Dashboard

Reading16m
40

Chapter 9 — Quiz

Quiz9m
41

Named Ranges & What-If Analysis

Reading14m
42

Introduction to Macros & VBA

Reading15m
43

Shortcuts, Printing & Sharing

Reading13m
44

Automating a Report

Video12m
45

Chapter 10 — Final Quiz

Quiz10m
←→navigate lessons
Chapter 5 of 10·Chapter 5 — Logical & Lookup Functions
Lesson 20 of 45Reading15 min

IF, Nested IF & IFS

IF, Nested IF & IFS¶

IF is the gateway to decision-making in Excel. It returns one value when a condition is true and another when it's false.

A spreadsheet categorizing results with conditional logic

The IF Syntax¶

excel
1 line
1=IF(logical_test, value_if_true, value_if_false)
excel
3 lines
1=IF(B2>=50, "Pass", "Fail")
2=IF(Sales>=Target, "🎯 Hit", "Below")
3=IF(Stock=0, "Reorder", "OK")

Comparison Operators¶

OperatorMeans
=Equal to
<>Not equal to
> <Greater / less than
>= <=Greater/less or equal

Nesting IFs for Multiple Outcomes¶

To grade A/B/C/F, put an IF inside the false slot of another IF:

excel
3 lines
1=IF(B2>=90,"A",
2  IF(B2>=80,"B",
3    IF(B2>=70,"C","F")))
| Score | Grade | | 95 | A | | 83 | B | | 71 | C | | 55 | F |
Caution

Order matters in nested IFs — test from the top boundary down. Excel returns the first match, so >=70 before >=90 would label everyone "C".

IFS — The Cleaner Way¶

Modern Excel offers IFS to avoid the parenthesis pile-up:

excel
1 line
1=IFS(B2>=90,"A", B2>=80,"B", B2>=70,"C", TRUE,"F")

Each pair is condition, result. The final TRUE,"F" acts as the catch-all "else".

Combining Conditions: AND / OR¶

excel
3 lines
1=IF(AND(Score>=50, Attendance>=0.75), "Pass", "Fail")
2=IF(OR(Region="North", Region="South"), "Domestic", "Other")
3=IF(NOT(Stock>0), "Out of stock", "Available")
  • AND → all conditions must be true.
  • OR → at least one true.
  • NOT → flips true/false.

Previous

Chapter 4 — Quiz

Next

Conditional Aggregates: SUMIF, COUNTIF, AVERAGEIF

Use ← → arrow keys to navigate between lessons