Use the IF statement. Using a conditional statement makes it so that you're not processing all the info in the spreadsheet, just the parts you want to check.
www.wikihow.com