The function ISFORMULA checks whether a cell contains a formula or not, and returns TRUE if the cell contains a formula or FALSE if not.
Syntax:
=ISFORMULA(Cell reference)
Cell Reference. Is the cell address that wanted to be evaluated