I've been told that if a hydrogen atom is exposed to electromagnetic radiation of wavelength $\lambda$ such that Rydberg's formula
$$\frac{1}{\lambda}=R\left(\frac{1}{n_{1}^2}-\frac{1}{n_{2}^2}\right)$$
is valid for two integers $n_1$ and $n_2$, then the electron in the hydrogen atom would go from level $n_1$ to level $n_2$.
If this is true, what would happen if, given a fixed $\lambda$ and an initial energy level $n_1$, $n_2$ turns out not to be an integer?
I've been reading that, actually, that equation doesn't describe what I've written above but the contrary process. Namely, that if the electron of the hydrogen atom is already excited and at an energy level $n_2$, then when it goes back to a lower level $n_1$ a photon of wavelength $\lambda$ is emitted. Are both processes (electron going from $n_1$ to $n_2$ and viceversa) described by that equation or just one of them?
I'm having trouble getting this whole level thing. I mean, a hydrogen atom has only one orbit, so how could its only electron go from one orbit to another if theres is just one of them?