0% found this document useful (0 votes)
10 views13 pages

Nested If Adv Formulas

The document contains various data tables and formulas related to employee salaries, bonuses, and student grades in a school setting. It includes calculations for bonuses based on salary thresholds, grading criteria for students, and inventory management for fruits. Additionally, it features nested IF statements and functions for data analysis and error handling in spreadsheets.

Uploaded by

sahanassahana75
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views13 pages

Nested If Adv Formulas

The document contains various data tables and formulas related to employee salaries, bonuses, and student grades in a school setting. It includes calculations for bonuses based on salary thresholds, grading criteria for students, and inventory management for fruits. Additionally, it features nested IF statements and functions for data analysis and error handling in spreadsheets.

Uploaded by

sahanassahana75
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 13

criteria sl.

no name Witchcraft
name salary bonus Bonus Salary GRFN001 Hermonie 89
A 15970 319.4 5% <15000 GRFN002 Harry 67
B 35000 700 2% >15000 GRFN003 Ron 45
C 12000 600 GRFN004 Malfoy 30
GRFN005 Albus 89
GRFN006 McGonigal 46
=IF(B3>15000,2%*B3,5%*B3) 12000 0.5 GRFN007 Hagrid 78
=IF(B3<15000,5%*B3,2%*B3) 12000 1.02 GRFN008 Lucius 90
GRFN009 Dudley 56
GRFN010 Ginni 54

=IF(AND(J2>=35,K2>=35,L2>=35,M2>=
=IF(OR(J2>=35,K2>=35,L2>=35,M2>=35
=IF(AND(J2:N2>=35),"pass","fail")
=IF(OR(J2:N2>=35),"pass","fail")

Item Quantity IF Result IF Result (with ELSE)


Apples 7 Reorder
Oranges 30 FALSE
Bananas 21 FALSE
Grapes 3 Reorder

WRONG CORRECT

=IF(AND(C30="apples",D30<10),$B$32*D30,"0")
english Dark Arts Potions maths result total AND OR AVERAGE GRADE
90 90 90 95
78 67 89 87
32 78 45 48
26 30 30 32
78 89 67 98
89 34 50 67
56 45 90 45
34 50 67 50
23 56 45 56
56 47 89 34

J2>=35,K2>=35,L2>=35,M2>=35,N2>=35),"pass","fail") =AND(J2:N2>=35)
>=35,K2>=35,L2>=35,M2>=35,N2>=35),"pass","fail") =OR(J2:N2>=35)
J2:N2>=35),"pass","fail")
:N2>=35),"pass","fail")

IF Result (with ELSE) Use the IF Result in Cell I22 Name Score IF Result
=IF(G22<10, "Reorder") Anderson 98
Drag and Drop
Smith 76
Use the IF WITH ELSE in Cell Johnson 85
G30
=IF(G22<10, "Reorder", "")
Drag and Drop

es",D30<10),$B$32*D30,"0")
CRITERIA CRITERIA
average grade From But Less thgrade
90 A 0 35 Fail
75 B 35 55 C
55 C 55 75 B
35 pass 75 90 A
<35 fail 90 100 A+

=IF(S2>=90,"A",IF(S2>=75,"B",IF(S2>=55,"C",IF(S2>=35,"PASS","FAIL"))))

Use the IF + AND Result in Cell Q30


=IF(AND(P22="Anderson",Q22>80), "BEST", "regular")
Drag and Drop

Use the IF + OR Result in Cell Q30


=IF(OR(P22="Anderson",Q22>80), "BEST", "regular")
Drag and Drop
Name Days Numbers
John mon 10 Sum of numbers less than 50
Joseph tue 20
Sam wed 30 Sum of numbers against Monday
Mike thu 40
Mexi fri 50 Count of numbers less than 50
Simi tue 60 Count of numbers belonging to Mon
Neexa sun 70 Average of numbers less than 50
Limey mon 80 Average of numbers against Monday
John mon 90

Name
John
Joseph
Sam
Mike
Mexi
Simi
Neexa
Limey
John
=SUMIF(C2:C10,"<50")

=SUMIF(B2:B10,"Mon",C2:C10)

=COUNTIF(C2:C10,"<50")
=COUNTIF(B2:B10,"mon")
=AVERAGEIF(C2:C10,"<50")
=AVERAGEIF(B2:B10,"Mon",C2:C10)

NESTED IFS FUNCTION

Days Numbers
mon 10 Sum of numbers belonging to Monday and john
tue 20
wed 30
thu 40
fri 50 Count of numbers belonging to Monday and John
tue 60
sun 70
mon 80 average of numbers belonging to Monday and john
mon 90 minimum of numbers belonging to Monday and john
maximum of numbers belonging to Monday and john

=SUMIFS(I17:I25,H17:H25,"mon",G17:G25,"john")
=COUNTIFS(H17:H25,"mon",G17:G25,"john")
=AVERAGEIFS(I17:I25,H17:H25,"mon",G17:G25,"john")
=MINIFS(I17:I25,H17:H25,"mon",G17:G25,"john")
=MAXIFS(I17:I25,H17:H25,"mon",G17:G25,"john")
Criteria
mon
John
sl.no name Witchcraft english Potions Dark Arts maths result total
SLY001 Tom 89 67 90 67 89
GRFN002 Hermonie 67 78 67 89 87
GRFN003 Ron 45 45 78 45 48
SLY004 Draco 37 45 89 34 37
GRFN005 Albus 89 92 89 94 98
SLY006 Lucius 46 33 34 38 67
GRFN007 Harry 78 56 45 90 60
SLY008 Crab 90 34 89 67 89
SLY009 Goyle 56 23 56 45 56
SLY010 Umbridge 54 56 89 89 34

Percentage Grade
90 & above A+ result =IF(AND(D4:H4>=35),"PASS","FAIL") =IF(AND(D4>=35,E4>=35,F4>=35
75 and 89 A total =IF(I4="fail","fail",SUM(D4:H4))
55 and 74 B average =IF(I4="fail","fail",AVERAGE(D4:H4))
35 and 54 PASS grade =IF(K4="fail","fail",IF(K4>=90,"A+",IF(K4>=75,"A",IF(K4>=55,"B",IF(K4>=35,"C
below 35 Fail rank =IF(K4="fail","fail",RANK(J4,$J$4:$J$13))
ABSOLUTE REFERENCE
average grade rank 1
2
3 3

MIXED REFERENCE
1 2 3 4
1 0 -1 -2 -3
2 1 0 -1 -2
3 2 1 0 -1
4 3 2 1 0
5 4 3 2 1
=$P10+Q$9 =Q$9+$P10
D4>=35,E4>=35,F4>=35,G4>=35,H4>=35),"pass","fail")

4>=55,"B",IF(K4>=35,"C")))))
GST Vendor Item Quantity Price Bonus
0.1 deliciousfruitsApples 7 564
0.07 deliciousfruitsOranges 30 345
freshfruits Bananas 21 231
freshfruits Apples 3 345

=IF(AND(P21="apples",Q21<10),$O$
=IF(AND(P21="apples",Q21<10),$O$
=IF(AND(O21="deliciousfruits",P21=
4
5
6
=$Q$5+T3

5
-4
-3
-2
-1
0

P21="apples",Q21<10),$O$21*Q21,"0")
P21="apples",Q21<10),$O$21*R21,"0")
O21="deliciousfruits",P21="apples"),$N$21*R21,$N$22*R21)
Sl.No Customer Name Total Bill Different Product Discount Monday
1 Albus 25000 10 Tuesday
2 Harry 12000 12 Wednesday
3 Ron 12000 7 Thursday
4 Hermonie 20200 12 Friday
5 Snape 4500 4 Saturday
6 Hagrid 8000 8 Sunday
7 Lupin 4000 3
8 Bill 18000 4

Discount =IF(OR(C2>10000,D2>=5),"20%","0")

sl.no name
Tom =IF((OR((C15="Harry"),(C15="Ron"),(C15="Hermonie"),(C15="Albus"))),"GRFN","SLY
Hermonie =IF(OR(C15="Harry",C15="Ron",C15="Hermonie",C15="Albus"),"GRFN","SLY")
Ron 1 Tom
Draco 2 Hermonie
Albus =B15&D17 3 Ron
Lucius 4 Draco
Harry 5 Albus
Crab 6 Lucius
Goyle 7 Harry
Umbridge Crab
Goyle
Umbridge
=IF(OR(H1="Saturday",B3="Sunday"),"Rest","Workday")

Wednesday

),(C15="Albus"))),"GRFN","SLY")
="Albus"),"GRFN","SLY")
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday
Cell C3 =IF(NOT(OR((B3="Saturday"),(B3="Sunday"))),"workday","rest")
=IF(NOT(OR(B3="Saturday",B3="Sunday")),"Weekday","Rest")
Column 1 Column 2 Division IFERROR
350 10 35
425 25 17
745 0 #DIV/0!
824 8 103
960 20 48
146 D #VALUE!
328 15 21.86666666667
Sum 3778 78

D10 =IFERROR(SUM(D3:D9),"IGNORE ERROR")


E3:E9 =IFERROR(B3/C3,"IGNORE ERROR")

You might also like