Select the cells whose text you want to rotate.
Choose Format - Cells. You will see the Format Cells dialogue box.
Click the Alignment tab.
In the Text orientation area use the mouse to select in the preview wheel the direction in which the text is to be rotated. Click OK.