Excel for Absolute Beginners · Session 5

Excel Session 5: Nested IF Made Easy

Move from two simple answers to smarter Excel decisions. Learn how Nested IF checks conditions step by step, then use that thinking to build Grade, Stock, Payment, and Student Grading systems.

BeginnerNested IFDecision SystemsPractice Included

Simple IF gives two answers. Nested IF gives many answers.

Excel Session 5 Nested IF Made Easy thumbnail

Lesson at a Glance

LevelBeginner
Main SkillNested IF
Core IdeaCheck conditions step by step
You Will Build4 decision systems
PracticeAssignment workbook included
Teaching StyleMeaning before mechanics

Before You Begin

You are not starting from zero.

Sessions 1–4 already gave you the foundation: cells, rows, columns, formulas, functions, ranges, the Fill Handle, larger tables, sorting, and Simple IF.

Session 5 builds directly on those skills.

← Review Session 4: IF Statements
03

Watch · Learn · Practise

Watch the Session 5 lesson

Use the video for the guided demonstration, and keep this written lesson open whenever you want to slow down, revisit a formula, or understand the logic more deeply.

Having trouble with the player? Watch on YouTube.

04

Reconnect

Remember Simple IF?

In Session 4, Excel learned its first decision. A Simple IF statement asks one question and chooses between two possible answers.

Is the average greater than or equal to 41?
TRUE → PassFALSE → Fail
Simple IF example
=IF(D7>=41,"Pass","Fail")
Key idea

One question. Two possible answers. That is a Simple IF statement.

05

See the Problem First

What if two answers are not enough?

Pass or Fail works because there are only two possible responses. But real-life decisions often have more possibilities.

Simple IF

Pass or Fail

Two possible answers.

Many Decisions

A, B, C, D, or E

Five possible answers.

Stock

Out · Low · Okay · Full

Four possible answers.

Payment

Not Paid · Partly · Fully

Three possible answers.

Think with me

The Simple IF formula is not wrong. The problem has changed. When the problem changes, our thinking must also change.

06

Meaning Before Mechanics

What is Nested IF?

Nested IF means placing one IF function inside another IF function.

It allows Excel to check several conditions one by one and return different possible answers.

Simple IFOne question → two answers
Nested IFSeveral checks → many possible answers

Do not think of Nested IF as one frightening long formula. Think of it as a sequence of small decisions written together in Excel language.

07

Think Like Excel

How Nested IF checks conditions

Suppose a student has an average of 45. Excel does not guess the grade. It checks one condition at a time.

Check 1Is 45 ≥ 81?No → continue
Check 2Is 45 ≥ 61?No → continue
Check 3Is 45 ≥ 41?Yes → Grade C
STOPExcel found the first TRUE condition.It does not need to check again.
Excel checks step by step before responding.
08

Build It Slowly

Build your first Nested IF formula

Now we translate the Grade rules into Excel language. We will build the formula one decision at a time.

81–100A
61–80B
41–60C
21–40D
0–20E
1

Check for Grade A

=IF(D7>=81,"A"

If D7 is 81 or above, return A.

2

If not A, check for B

,IF(D7>=61,"B"

If the first check is false, Excel continues.

3

If not B, check for C

,IF(D7>=41,"C"

Now Excel checks the next boundary.

4

If not C, check for D

,IF(D7>=21,"D"

If this check is true, return D.

5

Otherwise, return E

,"E"))))

If none of the earlier conditions is true, E is the remaining answer.

Complete Grade formula
=IF(D7>=81,"A",IF(D7>=61,"B",IF(D7>=41,"C",IF(D7>=21,"D","E"))))
Formula in Plain English

If the average is 81 or more, give A. Otherwise, if it is 61 or more, give B. Otherwise, if it is 41 or more, give C. Otherwise, if it is 21 or more, give D. Otherwise, give E.

((((4 IF functions opened
))))4 IF functions closed

Why so many brackets? They are not random. Each closing bracket simply closes one IF function that was opened earlier.

One formula. One column. Drag down.
09

Logic Matters

Why checking order matters

Excel follows the order we give it. It stops at the first TRUE condition. That means a badly arranged Nested IF can return the wrong answer even when every individual condition looks reasonable.

Wrong order=IF(D7>=21,"D", ... )

If D7 is 90, the very first condition is already TRUE. Excel could return D and stop.

Better order=IF(D7>=81,"A", ... )

For this Grade System, checking the highest grade first keeps the categories correct.

Remember

Excel does exactly what we tell it to do, in the order we tell it to do it.

There is no single magic order for every Nested IF formula. The order must follow the logic of the problem.

A
System 1

Grade System

Excel checks a student's Average and returns A, B, C, D, or E.

81–100A
61–80B
41–60C
21–40D
0–20E
Grade formula
=IF(D7>=81,"A",IF(D7>=61,"B",IF(D7>=41,"C",IF(D7>=21,"D","E"))))
Formula in Plain English

Check for A first. If not A, check B. If not B, check C. If not C, check D. If none matches, return E.

Try It Yourself

If the Average is 75, what Grade should Excel return?

□
System 2

Stock Level System

Different table. Different answers. Same Nested IF thinking.

0Out of Stock
< 50Low Stock
< 100Okay Stock
100+Full Stock

In this problem, checking zero first gives the clearest logic. If there is nothing available, Excel should immediately return Out of Stock.

Stock Status formula
=IF(D8=0,"Out of Stock",IF(D8<50,"Low Stock",IF(D8<100,"Okay Stock","Full Stock")))
Formula in Plain English

If quantity is 0, show Out of Stock. Otherwise, if it is below 50, show Low Stock. Otherwise, if it is below 100, show Okay Stock. Otherwise, show Full Stock.

49 → Low Stock50 → Okay Stock99 → Okay Stock100 → Full Stock
Try It Yourself

If the quantity is 50, what should Excel show?

$
System 3

Payment Status System

Nested IF can compare one cell with another, not only a cell with a fixed number.

Paid = 0Not Paid
Paid < RequiredPartly Paid
Paid ≥ RequiredFully Paid

Here Excel checks the Paid Amount in D8 and compares it with the Amount Required in C8.

Payment Status formula
=IF(D8=0,"Not Paid",IF(D8<C8,"Partly Paid","Fully Paid"))
Formula in Plain English

If nothing has been paid, show Not Paid. Otherwise, if the Paid Amount is less than the Amount Required, show Partly Paid. Otherwise, show Fully Paid.

Try It Yourself

Required: 100,000 · Paid: 40,000. What should the status be?

◎
Final Project

Build a connected Student Grading System

Now the skills you learned separately begin working together inside one worksheet.

Subject Marks→Total→Average→Grade→Remark

Some columns contain information we type. Other columns contain answers Excel calculates or decides. This is the difference between a table that stores information and a system that responds to information.

Serial Number=ROW()-3

Quick refresher: creates the serial number from the worksheet row.

Total=SUM(D4:F4)

Adds the three subject marks.

Average=AVERAGE(D4:F4)

Calculates the student's average.

Grade · Nested IF=IF(H4>=81,"A",IF(H4>=61,"B",IF(H4>=41,"C",IF(H4>=21,"D","E"))))

The Average now becomes the information Excel uses to decide the Grade.

Position=RANK(G4,$G$4:$G$23,0)

Compares the student's Total with all the other totals.

One decision leads to another

The Remark formula does not check the original marks. It checks the Grade that Excel has already decided.

Remark formula
=IF(I4="A","Outstanding",IF(I4="B","Very Good",IF(I4="C","Average",IF(I4="D","Weak","Very Weak"))))
Formula in Plain English

If Grade is A, return Outstanding. If B, return Very Good. If C, return Average. If D, return Weak. Otherwise, return Very Weak.

Test the system

Change the original subject marks and watch the connected columns respond. Total, Average, Grade, Position, and Remark can all update automatically because the formulas are linked.

14

Troubleshoot Calmly

Common Nested IF mistakes

A wrong result is information. It tells you there is something to check. Work through the formula calmly instead of starting again blindly.

01

Wrong checking order

Excel may stop at a condition that becomes TRUE too early.

02

Missing quotation marks

Text answers such as "A" or "Low Stock" need quotation marks.

03

Missing closing brackets

Every IF function you open must eventually be closed.

04

Wrong cell reference

Make sure Excel is checking the cell that actually contains the value you mean.

05

Wrong comparison sign

For example, > and >= do not mean the same thing at a boundary.

06

Copying before testing

Confirm the first formula works before using the Fill Handle.

Check → Find → Correct → Try Again.
15

Guided Practice

Try it yourself

Do not only read formulas. Predict what Excel should return. The goal is to train the thinking that sits behind the formula.

Grade

Average = 81. What Grade?

Stock

Quantity = 99. What Status?

Payment

Required = 100,000 · Paid = 120,000. What Status?

16

Before the Assignment

Session 5 recap

  • Simple IF gives two answers.
  • Nested IF gives many answers.
  • Nested IF means one IF function inside another IF function.
  • Excel checks one condition at a time.
  • Once Excel finds the first TRUE condition, it returns the answer and stops checking.
  • Checking order matters because Excel follows the logic we give it.
  • Write one correct formula, then use the Fill Handle to repeat the pattern.
  • The same decision pattern can work with grades, stock, payments, and connected systems.

Think clearly, and Excel becomes powerful.

17

Independent Practice

Complete the Session 5 assignment

Your assignment practises Nested IF in two systems: Grade System and Stock Status System. The workbook gives live feedback so you can correct mistakes and retry.

1. Download→2. Write the formulas→3. Check feedback→4. Correct & retry
Download Session 5 Assignment

The goal is not speed. The goal is understanding. A high score is good, but understanding why your formula works is even better.

18

Keep Moving Forward

What comes next?

In Session 5, Excel learned how to decide. In the next session, Excel will begin to count and summarize intelligently.

How many students passed?How many items are low in stock?How many people have fully paid?How much belongs to a particular group?

That is where we begin moving deeper into analysis — and where your power with data grows even more.