You are on page 1of 6

IF ERROR Function

Column 1 Column2 Divison If Error Text


350 10 35 35 35
425 25
745 0 #DIV/0! 0 ERROR
824 8
960 20
146 D #VALUE! 0 ERROR
328 15
SUM: 3778 78

Column 1 Column2 Divison If Error Text


350 10 0.028571
400 15
450 10
500 0
550 5
600 D ERROR
650 10
700 F
IfNA- a logical function that tests whether a cell contains the #N/A error value, and returns a specified value if it does
ID Name Price VLOOKUP
105 Pen 10 #N/A
102 Paper 15 15
103 Pencil 5
104 Scale 15
111 Book 35 15 15

Marks
21BCOMS01 12 #N/A 0
21BCOMS12 13 #N/A 0
21BCOMS03 14
21BCOMS04 15
21BCOMS10 16
21BCOMS06 17
21BCOMS07 18
21BCOMS08 19
21BCOMS09 20
21
21BCOMS11 22
21BCOMS02 23
21BCOMS05 21
21BCOMS11 22
21BCOMS02 23
NOT Function
Returns opposite
NOT Function reverses the argument. If logical value is true it will return false and if logical value is false, it will return true

Field 1 Field 2 Final result


TRUE 0 FALSE
5 16 TRUE
1 FALSE
5
0 0.1 FALSE
e is false, it will return true
If- it allows you to make logical comparisons between a value and what you expect.

Student List Marks Scored Result Name Credit Score


Harry 82 PASS Harry 635
Karen 34 FAIL Karen 637
Jess 24 Jess 983
Ted 54 Ted 1029
Leo 89 Leo 562
Larry 98 Larry 983
David 67 David 844
Alexis 77 Alexis 701
John 21 John 521
Moira 91 Moira 839

NESTED IF

Cold: Below
10°C
Moderate:
10°C to 25°C
Hot: Above
City Temp (In CelciuResult 25°C Name Age
Denver 10 MODERATE Harry 66
Tuscon 21 MODERATE Karen 21
Los Angeles 30 Jess 50
Chicago 22 Ted 37
San Diego 19 Leo 42
Dallas 35 Larry 12
Austin 40 David 5
Tulsa 9 COLD Alexis 49
Orlando -5 John 77
Salt Lake City 33 Moira 62
Status
FAIL
FAIL
PASS

Child: 0-12 years


Teenager: 13-19
years Adult: 20-59
years Senior: 60+
Category years
SENIOR

CHILD

You might also like