Selected to cursor on one axis
Select the object you want to align, then the object on which you want to align, then, on the bottom menu of the 3D view, choose Object > Transform > Align Objects, and play with the options on the bottom of the T menu (example: choose the right axis)