Click here to load reader
Upload
neelanjan-bhattacharyya
View
504
Download
0
Embed Size (px)
DESCRIPTION
Use of Vlookup function in place of multiple if function
Citation preview
90% AA
80% A+
60% A
45% B+
35% B
25% C
00% D
Find out the Grade follow the table.
Find out the grade Find out the grade of a student from of a student from the giving tablethe giving table
90% AA
80% A+
60% A
45% B+
35% B
25% C
00% D
Find out the Grade follow the table.
Normally we type the formula likeNormally we type the formula like……
IF(G3>=90,"AA",IF(G3>=80,"A+",IF(G3>=60,"A",IF(G3>=45,"B+",IF(G3>=35,"B",IF(G3>=25,"C","D"))))))
90% AA
80% A+
60% A
45% B+
35% B
25% C
00% D
But this is not easy to rectify or edit a grade. But this is not easy to rectify or edit a grade.
SO HERE WE USESO HERE WE USE
Create another tableCreate another table
Now we consider the following formulaNow we consider the following formula……
VLOOKUP(G3,$L$3:$M$9,2)
Press EnterPress Enter
DESCRIPTION OF THE FORMULADESCRIPTION OF THE FORMULAG3 is the value to be found
$L$3:$M$9 is the grade table in which data is looked up
2 is the column number in grade table from which thematching grade must be returned
So we got the desire result.So we got the desire result.
It is every small and easy to rectify It is every small and easy to rectify or edit a grade.or edit a grade.