i think vlookup is one of the possible solutions to your question.
read the following and then try to it.
http://www.techonthenet.com/excel/formulas/vlookup.php
http://office.microsoft.com/en-in/excel-help/vlookup-HP005209335.aspx
ok i think since your new to this, ill explain as much as i can from the basics.
first the syntax,
VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])
lookup_value The value to search in the first column of the table or range. The lookup_value argument can be a value or a reference.
table_array The range of cells that contains the data. You can use a reference to a range (for example, A2:D8), or a range name. The values in the first column of table_array are the values searched by lookup_value.
col_index_num The column number in the table_array argument from which the matching value must be returned. A col_index_num argument of 1 returns the value in the first column in table_array; a col_index_num of 2 returns the value in the second column in table_array, and so on.
range_lookup true or false depending on whether you want an exact or a close match
