How to Center an Excel Worksheet: Page Setup

How-to basics · Updated November 23, 2026

To center an Excel worksheet horizontally and vertically on a printed page, go to Page Layout > Margins > Custom Margins, then under Center on page, check both Horizontally and Vertically, and click OK. This is the only built-in way to center worksheet data on paper; Excel does not have a one-click “center sheet” button on the ribbon.

Why Centering Matters in Print

When you print a spreadsheet, Excel uses the page margins you set in Page Setup. By default, the content starts at the top-left margin, which can look lopsided—especially when your data occupies only a small portion of the page. Centering shifts the printed output so that the selected print area is balanced within the page’s white space. This is critical for reports, invoices, or any document you hand to someone else. Without centering, a small table can appear stuck in the upper-left corner, making the page look unprofessional.

Centering applies only to printing, not to the on-screen view. In Normal view, your data stays in its cells; the centering is a print-time transformation. You can preview the effect in Print Preview (File > Print) or by switching to Page Layout view (View > Page Layout), which shows the page as it will print.

How to Center Horizontally and Vertically (Step-by-Step)

Follow these steps in Excel for Microsoft 365 on Windows:

  1. Click the worksheet tab you want to print (or select multiple sheets by holding Ctrl).
  2. Go to Page Layout > Margins &strong> (in the Page Setup group) and choose Custom Margins… at the bottom of the dropdown.
  3. In the Page Setup dialog box, under the Margins tab, look for the Center on page section.
  4. Check Horizontally to center left-to-right, Vertically to center top-to-bottom, or both.
  5. Click OK.

On a Mac (Excel for Microsoft 365), the path is the same: Page Layout > Margins > Custom Margins. In Excel for the web, go to File > Print > Page Setup (the link at the bottom of the print settings) and use the same Margins tab.

Choosing Which Centering Option to Use

Which boxes you check depends on your data and page orientation:

  • Horizontally only – Use when your data spans most of the page’s height but is narrow. This is the most common choice for a single narrow column or a few columns.
  • Vertically only – Use when your data is wide but short (e.g., a wide header row with a few rows of data). This pushes the content down to the vertical middle.
  • Both – Use for small datasets that occupy a small rectangle in the middle of the page, like a summary table or a small chart.

If you’re unsure, check both and preview. You can always uncheck one. Note that centering does not change the print area—it only repositions the content within the margins. If you have multiple pages, each page’s content is centered independently based on the print area defined for that page.

Common Problems and How to Fix Them

Several issues can prevent centering from working as expected:

  • Centering doesn’t seem to apply – Make sure you’ve selected the correct worksheet. If you have multiple sheets selected, changes apply to all selected sheets. Also verify that you’re looking at Print Preview, not Normal view.
  • Content still appears off-center – Check your margins. If you have very large left or top margins, the centering calculation uses those margins as the bounds. Reset margins to default (0.5” or 1”) to see a more obvious effect.
  • Only part of the data is centered – Centering applies to the print area, not the entire used range. If you have a defined print area (Page Layout > Print Area), only that area is centered. To center everything, clear the print area or redefine it.
  • Centering doesn’t work in Excel for the web – The web version has limited Page Setup options. You can still set centering via File > Print > Page Setup, but some advanced margin controls may be missing. For full control, use the desktop app.

Centering vs. Merging Cells (A Common Misconception)

Some users try to “center” a worksheet by merging cells or using the Merge & Center button on the Home tab. That tool centers text within a selection of cells on screen—it has no effect on printed page positioning. Merging cells can actually cause print issues, such as extra blank pages or misaligned columns, because it changes the cell structure. Always use Page Setup for page-level centering. Similarly, the Center alignment button in the Alignment group only centers text within a cell, not the entire worksheet on a page.

How Centering Interacts with Page Breaks and Scaling

Centering works in tandem with other Page Setup options. For example, if you use Scale to Fit (Page Layout > Scale to Fit) to shrink data to one page, centering will then position that scaled content. If you have manual page breaks, each page’s content is centered separately—so a break in the middle of a table may produce two pages that each have their own centered block. To avoid this, adjust page breaks before printing (View > Page Break Preview) and then apply centering. Also note that centering does not affect the number of pages; it only changes the position of the content within the existing page boundaries.

Frequently Asked Questions

Can I center a worksheet without opening the Page Setup dialog?

No, there is no one-click ribbon button for centering a worksheet. The fastest way is to use the keyboard shortcut Alt + P, M, C (Windows) to open Custom Margins, then press H to check Horizontally, V to check Vertically, and Enter to apply. On a Mac, there is no direct keyboard shortcut; you must navigate through the menus.

Does centering affect the on-screen appearance?

No. Centering is a print setting only. In Normal view, your data remains in its original cells. To see the centered layout on screen, switch to Page Layout view (View > Page Layout) or use Print Preview.

Why is my worksheet not centering even after I check the boxes?

Check three things: (1) the correct sheet is selected, (2) the print area is set to include all your data, and (3) you’re viewing Print Preview. Also, if you have multiple sheets selected, the setting applies to all—but if you later select a single sheet, the setting remains on that sheet. If you’re using Excel for the web, ensure you’re using the desktop app for full reliability.

Can I center only horizontally or only vertically?

Yes, you can check just one box. This is useful when you want to balance a wide but short table vertically, or a narrow but tall table horizontally. Many users choose horizontal centering only, as vertical centering can make a page look odd if the data is long.

Does centering work with multiple pages?

Yes, each printed page centers its own content. If you have a multi-page printout, each page’s print area (the portion of the worksheet that falls on that page) is centered independently. This can be desirable for reports with separate sections, but if you want a continuous table to flow across pages without centering each page, you may want to leave centering off.

How do I center a chart or a picture on a printed page?

Charts and pictures are objects in the worksheet. To center them on a page, select the object, then go to Page Layout > Margins > Custom Margins and check the centering boxes. The object will be centered within the page based on its position in the print area. For a standalone chart sheet (a sheet that contains only a chart), centering works the same way—use the same Page Setup dialog.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.