2.advanced Excel For Decision Making - PPT
2.advanced Excel For Decision Making - PPT
-Prof. Chandan
Singhavi
• The first argument is the logical test (the condition). For our example, the
logical test will be that the value of the number considered is less than zero
• The second argument is the action to be taken if the condition is true (take
the negative of the number)
• The third argument is the action to be taken if the condition is false (report
the input number unchanged)
=COUNTIF(range, criteria)
=SUMIF(criteria_range, criteria,[sum_range])
=COUNTIFS(criteria_range1, criteria1,
[criteria_range2,criteria2], …)
=SUMIFS(sum_range, criteria_range1,criteria1,
[criteria_range2,criteria2], …)
Find a specific value for a target cell by adjusting the value of one other cell whose
value is allowed to vary.
A B C D E F G H
1 Name Exam Grade
2 Adams 87 B
3 Benson 92 A
4 Carson 68 D
5 Danson 78 C
6 Criteria
7 0 F
8 60 D
9 70 C
10 80 B
11 90 A
A B C D E F G H
1 Name Exa Grade
m
2 Adams 87 B
3 Benson 92 A
4 Carson 68 D
5 Danson 78 C
6
7
8 Criteria
9 0 60 70 80 90
10 F D C B A
11
K J Somaiya Institute of Management, India
HLOOKUP()
Format
=HLOOKUP( Value to look up,
The range of the table,
The row number containing
the grade)
For example,
In the preceding case
=HLOOKUP(B2, $B$(:$F$10,2)
In the HLOOKUP(), the 2nd argument, the range for the lookup table, should be in
absolute address.
In the lookup table, values to be looked up should be in ascending order (from small
to larger) from left to right.