IsText() returns True or False depending if the value being checked is Text (Not Number/Date/Boolean). IF() needs 2 parameters, The True Part and the False Part Sum() does as it says - it sums values.
Your formula may not work as written. What did you want to do?