In Excel, text can be rotated by using the rotate text function. The rotate text function can be used to rotate text by a specified number of degrees. The rotate text function can also be used to rotate text in a specific direction. In order to use the rotate text function, the text must be formatted as text.