Performing Calculations with the Excel IF Function - Spreadsheets What the IF function does. The IF function is one of Excel's most useful and most used functions. What it does, basically, is test to see whether a certain condition ...