def trimmed(goal, num=200):
    """Trim the goal column to ``num`` words so it fits in the notes column."""
    words = goal.split()
    trimmed_words = words[:num]
    joined = " ".join(trimmed_words)
    if len(trimmed_words) < len(words):
        # trimmed_words is actually shorter than words, so we have cut
        # something out
        joined += " […]"
    return joined