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.
This is a very welcome feature that saved my day at various occasions, you can turn your iPhone into a wireless hotspot and share its mobile data connection.