ISFORMULA Function
It retuns TURE if the reference consists of FORMULA else returns FALSE
Download The Workbook