you can achieve this task using vlookup
in sheet2 enter data as
A1 B1
yellow Basic
green Primary
Now in sheet1, select A1 and enter formula
=VLOOKUP(B1,Sheet2!$A$1:$B$2,2,FALSE)
Chris
------
Convert your Excel spreadsheet into an online calculator.
http://www.spreadsheetconverter.com
--
Chris Bode