Google Sheets
ISFORMULA function in Google Sheets
Checks whether a formula is in the referenced cell.
=ISFORMULA(cell)ISFORMULA syntax and parameters
One argument, one required.
- cellrangeRequired
The cell to check for a formula. ISFORMULA returns TRUE if cell is a cell that contains a formula. If cell contains a range of cells then TRUE will be returned if the first cell in the range contains a formula. All other values will return FALSE.
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 Excel
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 Google Sheets gets this done.
- CELLReturns the requested information about the specified cell.InfoExcel
- ERROR.TYPEReturns a number corresponding to the error value in a different cell.InfoExcel
- ISBLANKChecks whether the referenced cell is empty.InfoExcel
- ISDATEReturns whether a value is a date.InfoNo Excel equivalent
- ISEMAILChecks whether a value is a valid email address.InfoNo Excel equivalent
- ISERRChecks whether a value is an error other than `#N/A`.InfoExcel