If a cell has a formula, this method returns TRUE; otherwise, it returns FALSE.
If the A1 cell has a formula like =SUM(A4:A5) or =A4+A5, for example, =ISFORMULA(A1) will return TRUE.
Excel 2013 is the first year that this feature is available.
Syntax:
=ISFORMULA(reference)
Parameter list:
A cell reference, a formula, or a term that relates to a cell can all be used to refer to the cell you wish to test.
Example:
If cell is a cell with a formula, ISFORMULA returns TRUE. If the first cell in the range includes a formula, TRUE will be returned if cell contains a range of cells. FALSE will be returned for all other values.
Ask Your Query