Not sure what you mean by your question... If it is OpenOffice, you should take a look at VLOOKUP(). The first value would be an empty string, and the first column in table array must be the column you are looking for. i.e. VLOOKUP("", A2:C7, 2, TRUE).