Ionic compounds are formed most easily with
High electron affinity elements and low ionization energy elements
The formation of an ionic bond depends upon the easy formation of cations and anions. Therefore, the ionization energy of the metal atom should be low, so that it can easily form a cation. On the other hand, the electron affinity value of the non-metal atom should be high so that it can easily form an anion.