Get LookAt Rotation For a Single Axis

Original post edited so that it is more specific and precise about what I am trying to accomplish. Made this response confusing as the post itself is now easier to understand.