Calculate: return false if invalid formula
single-line if