ExcelExcel 2013+
ISFORMULA function in Excel
Returns TRUE if there is a reference to a cell that contains a formula
=ISFORMULA(reference)ISFORMULA syntax and parameters
One argument, one required.
- referencerangeRequired
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.
ISFORMULA examples
Formulas you'll actually reuse.
Spot hard-coded values in a column that should be formulas:
=IF(ISFORMULA(C2), "calculated", "typed")Result
"typed"How many cells in the totals column were overwritten by hand:
=SUMPRODUCT(--NOT(ISFORMULA(C2:C200)))Result
2
ISFORMULA in Google Sheets
Same name — your formula ports as-is.
Try ISFORMULA in the playground
Edit the example — nothing to install.
Preloaded with the ISFORMULA formula from Example 1 — change anything and watch it respond.
Loading the editor…
Related functions
More ways Excel gets this done.
- CELLReturns information about the formatting, location, or contents of a cellThis function is not available in Excel for the web.InfoGoogle Sheets
- ERROR.TYPEReturns a number corresponding to an error typeInfoGoogle Sheets
- INFOReturns information about the current operating environmentThis function is not available in Excel for the web.InfoNo Google Sheets equivalent
- ISBLANKReturns TRUE if the value is blankInfoGoogle Sheets
- ISERRReturns TRUE if the value is any error value except #N/AInfoGoogle Sheets
- ISERRORReturns TRUE if the value is any error valueInfoGoogle Sheets