We describe a way of selecting pairs of glasses for both thin cemented achromatic doublets and thin aplanatic achromatic doublets with a reduced secondary spectrum. By taking one pair of glasses at a time, we can compute and display the secondary spectrum in increasing value. The number of solutions based on the magnitude of the secondary spectrum alone is huge: 40,804 pairs. Some tests are applied at different stages of the design procedure to reduce the number of acceptable solutions. Aberrations that cannot be corrected, namely, spherochromatism and fifth-order spherical aberration, are further calculated to reduce drastically the number of acceptable solutions. To do this, we establish tolerance conditions based on the relationship between the Strehl intensity ratio and the rms wave-aberration error so that the rms wave error is minimized in the presence of the secondary spectrum, spherochromatism, and the fifth-order spherical aberration.