validations for excel editor