Calculating excited states of condensed matter