I'll show you the basic usage of IF function in Google Drive Spreadsheet. The IF function returns one value if a specified condition evaluates to TRUE, or another value if it evaluates to FALSE.
Google Docs or these days Google Drive can make collaborating with your colleagues or friends much easier by sharing Google Document, Spreadsheet, Presentation, Pictures or a whole folder.