The influence of spin-forbidden monomer excitations on spin-allowed electron transfer and electron-localized states of mixed-valence and single-valence dimeric systems