0 of 46 lessons complete.

Module 5: Logic · Lesson 29 of 46

Nested IF

Put an IF inside another IF for three or more outcomes.

Step 1 of 10%

Below 30 psi is LOW, above 70 is HIGH, anything else is NORMAL. In C2, write =IF(B2<30,"LOW",IF(B2>70,"HIGH","NORMAL")), then fill down to C7.

Target: C2:C7

C2
ABCDEF
1
Sensor
Pressure (psi)
Alarm
2
S1
25
3
S2
50
4
S3
75
5
S4
30
6
S5
70
7
S6
10
8

Arrow keys move · drag or shift-click to select a range · Ctrl/Cmd+D fill down · Ctrl/Cmd+R fill right · Alt+= AutoSum · F4 toggles $

Enjoying the site?

Every tool here is free. If it helped you, consider buying me a coffee.

Buy me a coffee