Select a cell or a range. Click the Home tab. Click Align Left, Center, or Align Right to align cell contents left to right.
Click Top Align, Middle Align, or Bottom Align to align cell contents from top to bottom.
Click Decrease Indent or Increase Indent to align cell contents to the left or right.
Click Orientation, and then click Angle Counterclockwise, Angle Clockwise, Vertical Text, Rotate Text Up, or Rotate Text Down to rotate cell contents.
Check the result.