Resonance yields and excitation cross sections for atomic ionization