def normalize_str(x):
  """
  Given a value from an Excel cell, attempt to convert it to a string.  Returns that
  normalized string if possible, or `None` otherwise.
  """
  if not isinstance(x, str):
    return None
  return x.strip()