Changing orientation in Excel is quick: the page orientation (portrait or landscape) lives under the Page Layout tab, while text orientation (rotating text inside cells) sits in the Alignment group of the Home tab. Both take under a minute once you know where to look. This guide covers both meanings of "orientation" — the printed page direction and the angle of text within cells — for Excel on Windows and Mac. Menu labels can differ slightly between versions, but the paths below are stable in current releases.
What You'll Need
- A Windows PC or Mac with Microsoft Excel (Microsoft 365, Excel 2019 or later; the same options exist in most older versions too)
- A workbook with the sheet you want to adjust
- No special permissions or add-ins — everything here is built into Excel
Step-by-Step
Changing page orientation (portrait or landscape)
- Open your workbook and click the sheet tab you want to change at the bottom of the window. Orientation is set per sheet, not per workbook.
- Click the Page Layout tab on the ribbon at the top.
- In the Page Setup group, click Orientation.
- Choose Portrait (tall page) or Landscape (wide page) from the dropdown.
- To check the result, click File > Print (or press Ctrl+P on Windows, Cmd+P on Mac) and look at the print preview on the right.
- To apply the same orientation to several sheets at once, hold Ctrl (Cmd on Mac) and click each sheet tab first, then change orientation — it applies to all selected sheets. Right-click a tab and select Ungroup Sheets when done.
Rotating text inside cells (text orientation)
- Select the cell or range of cells containing the text you want to rotate.
- On the Home tab, find the Alignment group and click the Orientation button (it shows slanted letters, ab with an arrow).
- Pick a preset: Angle Counterclockwise, Angle Clockwise, Vertical Text, or Rotate Text Up / Rotate Text Down depending on version.
- For a custom angle, choose Format Cell Alignment at the bottom of the dropdown (or press Ctrl+1 / Cmd+1 and go to the Alignment tab), then drag the red diamond in the Orientation box or type a degree value from -90 to 90.
- Adjust the row height or column width if the rotated text gets cut off.
Setting orientation before printing only
- Press Ctrl+P (Cmd+P on Mac) to open the Print screen.
- At the bottom of the settings area, click the Page Setup link.
- On the Page tab, under Orientation, select Portrait or Landscape.
- Click OK and review the preview before printing.
Common Mistakes
- Confusing page orientation with text orientation — they are in different tabs (Page Layout vs Home) and do different things.
- Expecting orientation to apply to the whole workbook. It applies per sheet, so grouped sheets or a per-sheet change is needed for multiple tabs.
- Rotating text without widening the row or column, so the text is clipped or overlaps neighbouring cells.
- Forgetting to ungroup sheets after a multi-sheet change — anything you then type goes into every grouped sheet.
- Using landscape as a fix for a table that is simply too wide; scaling to fit (Page Layout > Fit Sheet on One Page, or the Scale to Fit group) is often the better answer.
- Looking for orientation in Print Preview on older versions and assuming it does not exist — it is under the Page Setup link, not as a direct button.
Tips
- Landscape suits wide tables and charts; portrait suits tall lists, forms and invoices.
- Combine landscape with Page Layout > Margins > Narrow and Fit to 1 page wide to fit wide data cleanly.
- Rotated header text (e.g. 45° or 90°) saves horizontal space in dashboards with long column headings.
- Ctrl+1 (Cmd+1 on Mac) is the fastest route to the full Format Cells dialog, including exact degree values for text rotation.
- Excel for the web also has Orientation under Page Layout > Page Setup, so you can change page orientation without the desktop app.
- You can save a preferred orientation with a sheet by saving it as a template, so new files start the right way round.
Troubleshooting
- Orientation button is greyed out: the sheet is probably protected. Go to Review > Unprotect Sheet (you may need the password from whoever protected it), or check whether the workbook is opened in read-only or Protected View — click Enable Editing at the top first.
- Print preview ignores your change: check you edited the same sheet you are printing, and that a defined print area (Page Layout > Print Area) is not overriding the layout. Also confirm the correct printer is selected, as preview can change with the driver.
- Rotated text looks cut off: increase the row height by dragging the row border, or set the row height manually via Home > Format > Row Height.
- Orientation changes on other sheets too: sheets are still grouped. Right-click any sheet tab and choose Ungroup Sheets.
- Changes revert when you reopen the file: make sure you save the workbook in the current Excel format (.xlsx), not .csv, which strips all formatting and page setup.
- Still stuck: restart Excel, install pending updates via File > Account > Update Options, and test in a fresh blank workbook to rule out a corrupted file.
Frequently Asked Questions
What is the keyboard shortcut for page orientation in Excel?
There is no direct default shortcut, but Alt+P, O opens the Orientation dropdown on Windows (press the keys in sequence). Printing via Ctrl+P then clicking Page Setup also gets you there quickly.
Can I set different orientations for different sheets in the same workbook?
Yes. Orientation is a per-sheet setting, so one sheet can be portrait and another landscape in the same file. Just make sure sheets are not grouped when you set them individually.
Does changing orientation affect the data itself?
No. Page orientation only changes how the sheet prints and how the page breaks appear on screen; the data, formulas and formatting are untouched.
Can I rotate numbers as well as text in a cell?
Yes. The Alignment orientation setting rotates whatever is in the cell — text, numbers or dates — in exactly the same way.
Why does my Excel look different from these steps?
The ribbon varies slightly between Windows, Mac, Excel for the web and older versions, but Orientation stays under Page Layout and text rotation under Home > Alignment in all current versions. Mac users replace Ctrl with Cmd in shortcuts.