Added simple data validation for input cells.