How to Show the Ruler in Excel

To show the ruler in Excel, switch to Page Layout view: go to the View tab and select Page Layout. Horizontal and vertical rulers appear along the top and left side of the sheet, because Excel only shows rulers in Page Layout view, never in Normal view.

These steps follow Microsoft’s Use measurement rulers on a worksheet article, which covers Excel for Microsoft 365, Excel 2024, 2021, 2019 and 2016 on Windows. Excel 2010 and 2013 use the same View tab buttons. Excel for Mac has its own short section below.

How to Show the Ruler in Excel

  1. Open the worksheet you want to measure and select the View tab.
  2. In the Workbook Views group, select Page Layout. The sheet now looks like printed pages with white space for margins.
  3. If the rulers still don’t appear, check the Ruler box in the Show group on the same tab.
Excel worksheet in Page Layout view with rulers along the top and left and Ruler checked on the View tab
Select Page Layout on View, then check Ruler to show horizontal and vertical measurements.

A ruler appears above the column letters and another to the left of the row numbers. Microsoft says you can use them to measure column width, row height, and the width and height of pages.

Any width you measure belongs to the whole column, which is why you can’t resize a single cell in Excel without changing its neighbors.

Shortcut: the status bar button

You can also click the Page Layout button on the status bar. It’s the middle of the three view buttons in the bottom-right corner of the window, next to the zoom slider, and it looks like a small page.

Things to know about the ruler

  • It’s per sheet. Page Layout view applies to the active worksheet, so another sheet in the same workbook may still open in Normal view.
  • Selections are highlighted. When you select a cell or range, the ruler shades the matching area, which shows how wide or tall the selection is.
  • Zoom affects reading. Set the zoom to 100% with the slider when you want the ruler marks to line up with what you see on screen.

Why Is the Ruler Option Grayed Out?

The Ruler box only works in Page Layout view. A Microsoft moderator on Microsoft Q&A confirms that the option is grayed out in Normal view, and it is also unavailable in Page Break Preview. Select View > Page Layout first, then check Ruler.

If the View tab has no Page Layout button at all, you may be in Excel for the web. Microsoft’s ruler instructions are written for the desktop app, so open the file in desktop Excel to use the ruler.

How to Change the Ruler Units

The rulers use your operating system’s measurement units by default, which is usually inches on a US computer. You can switch to inches, centimeters or millimeters:

  1. Select File > Options.
  2. Select Advanced.
  3. Scroll to the Display section.
  4. In the Ruler units box, choose Inches, Centimeters or Millimeters.
  5. Select OK.

The rulers and Page Layout measurements switch to the new unit. The setting applies across Excel, not just the current workbook. Choose Default Units to go back to your system setting.

Card showing how to change the ruler units in Excel
Illustration: how to change the ruler units in Excel.

Set a Column Width in Inches

The ruler is most useful when you need a column or row at an exact physical size, such as a label sheet or a printed form. Microsoft’s column width and row height article explains why: in Normal view, column widths use a character-based unit and row heights use points, but in Page Layout view you can enter them in inches, centimeters or millimeters.

  1. Switch to Page Layout view as shown above.
  2. Select the column, then go to Home > Format > Column Width.
  3. Type the width in your ruler units, such as 1.5 for 1.5 inches, and select OK. The ruler shows the new width.

Row height works the same way with Home > Format > Row Height.

What Else the Ruler Is Good For

  • Planning a printout: Page Layout view shows the sheet as printed pages, so you can see where each page ends. To place a small table in the middle of the paper, center the worksheet horizontally and vertically.
  • Adjusting margins: point at the gray edge of the ruler where the worksheet area starts until the cursor becomes a double arrow, then drag to change the page margin.
  • Lining up charts and pictures: when you select a shape or chart, the ruler shows its position, which helps you align it with your cells.

If a long sheet runs onto several pages, you can also repeat the header row on every printed page so each page keeps its labels.

For a printed form, you can also print gridlines in Excel so every cell has an outline on paper.

Show the Ruler in Excel for Mac

Microsoft’s Mac article gives this route:

  1. Click the View menu at the top of the screen, then click Page Layout.
  2. Click View > Ruler if the rulers don’t appear.
  3. To change units, go to Excel > Preferences, click View under Authoring, and pick a unit from the Ruler units menu.

How to Hide the Ruler or Go Back to Normal View

To hide just the ruler, clear the Ruler box on the View tab. To leave Page Layout view, go to View > Normal. The rulers disappear, but your data and any width changes stay. If a sheet keeps opening in another view, here is how to return worksheets to Normal view.

Switch back to Normal view before you freeze panes in Excel, because Freeze Panes isn’t available in Page Layout view.

Excel Ruler Questions

Can I show the ruler in Normal view?

No. Excel only shows rulers in Page Layout view. Normal view is for working with data, and Page Layout view is for seeing how the sheet will print.

Why does my ruler show centimeters instead of inches?

The rulers follow your computer’s regional measurement setting until you pick a unit yourself. Change it in File > Options > Advanced > Ruler units.

Does the ruler print?

No. The rulers are only an on-screen guide in Page Layout view. To print row numbers and column letters, use the Print box under Headings on the Page Layout tab.