Say, you want to look up the salary of a person by using the person's name. To do this, use a combination of the INDEX and MATCH functions as under:
=INDEX($B$3:$D$7, MATCH("Lal",$B$3:$B$7,),3)
This formula uses cells B3:D7 and looks up Lal's salary in the third column. The formula returns 4000.
No comments:
Post a Comment