Auto decide type for value in cell.