That's going to depends on how you access the Excel data - the most obvious way is to open the file using OleDB, and use an SQL SELECT operation similar to this:
SELECT ColumnB FROM MySheet WHERE ColumnA='Milk'
But you are going to have to be a lot more precise in describing your circumstances and what you have tried so far to get a specific solution.