The Excel ISFORMULA function returns TRUE when a cell contains a formula, and FALSE if not. When a cell contains a formula ISFORMULA will return TRUE regardless of the formula’s output or error conditions.
Syntax:= ISFORMULA (reference)
The ISFORMULA function syntax has the following arguments:
- Reference Required. Reference is a reference to the cell you want to test. Reference can be a cell reference, a formula, or a name that refers to a cell.
Example: Let’s look at some Excel ISFORMULA function examples and explore how to use the ISFORMULA function as a worksheet function in Microsoft Excel:
Based on the Excel spreadsheet above, the following ISFORMULA examples would return:
- Empty cell can have a formula in the cell. The formula returns an empty string in the cell
- When range of cells given in as argument, the function only checks the first cell of the array as returns TRUE or FALSE based only on the first cell.
- The function returns the error if the reference to the function is invalid.