How-To

How to Convert Excel to PDF and Keep Your Formatting

Convixy Blog · How-To · 7 min read

Why Excel to PDF Is More Complicated Than Word to PDF

Converting a Word document to PDF is usually seamless — what you see in Word is what you get in the PDF. Excel is different. A spreadsheet is not a page-based document. It is a potentially infinite grid, and turning that grid into a fixed-size page requires a set of decisions that Excel, your PDF tool, or both will make on your behalf — often badly.

The result is a familiar set of frustrations: columns that get sliced at the edge of the page, rows that disappear onto a second sheet with no indication they are there, gridlines that vanish, header rows that only appear on the first page, or a tiny table floating in the middle of a vast white page because the print area was never defined.

None of these problems are random. Each one has a specific cause and a specific fix. Once you understand why they happen, getting a clean PDF from any spreadsheet takes under two minutes.

The core issue: Excel treats every sheet as a potentially infinite canvas. When converting to PDF, that canvas has to be fitted onto fixed page dimensions — and Excel's default settings for doing this are rarely what you actually want.

The Most Common Problems and How to Fix Each One

❌ Problem: Columns are cut off at the right edge
✓ Fix: Set the print area and use "Fit to Page" scaling — covered in detail below
❌ Problem: Only the first page has column headers
✓ Fix: Set Print Titles to repeat the header row on every page (Page Layout → Print Titles)
❌ Problem: Gridlines are missing in the PDF
✓ Fix: Enable gridlines for printing under Page Layout → Sheet Options → Gridlines → Print
❌ Problem: The table is tiny and centred on a huge blank page
✓ Fix: Define a print area that covers only the data range, not the entire sheet
❌ Problem: Page breaks appear in the middle of data rows
✓ Fix: Use Page Break Preview (View → Page Break Preview) to manually reposition breaks
❌ Problem: The PDF is landscape but the data needs portrait (or vice versa)
✓ Fix: Set orientation explicitly in Page Layout → Orientation before converting

Step One: Define Your Print Area

The single most impactful thing you can do before converting any spreadsheet to PDF is to define a print area. By default, Excel will attempt to print the entire used range of the sheet — which often includes empty columns or rows far beyond your actual data, causing the PDF to include blank pages or push content off the edge.

Once the print area is defined, only that range will appear in the PDF. Blank rows or stray content outside the area are ignored completely.

Step Two: Fit Your Data to the Page

After defining the print area, the next step is making sure your columns fit within the page width rather than overflowing onto a second page. Excel's scaling options control this directly.

Go to Page Layout → Scale to Fit. You will see Width and Height dropdowns, both set to "Automatic" by default. Change Width to 1 page and leave Height on Automatic. This forces all columns to fit on a single page width regardless of how many there are, while letting the content flow naturally across as many rows (and therefore pages) as needed.

Caution: If your spreadsheet has many columns, fitting everything to one page width can make the text very small. Always preview before finalising. If the text becomes unreadably small, consider hiding non-essential columns before converting, or switching to landscape orientation.

For spreadsheets that need to fit entirely on a single page — a one-page summary, a dashboard, a report cover — set both Width and Height to 1 page. Everything will scale down to fit on one sheet of paper.

Step Three: Set the Right Page Orientation

Most spreadsheets are wider than they are tall, which means landscape orientation usually produces a better PDF than portrait. Go to Page Layout → Orientation → Landscape for any sheet that has more columns than rows, or any data that would otherwise get cut off in portrait mode.

Portrait works well for narrow tables — typically those with fewer than six or seven columns — especially if the data has many rows that need to be read sequentially like a transaction log or a contact list.

Step Four: Repeat Headers on Every Page

A multi-page PDF with column headers only on the first page is nearly impossible to read. Excel has a dedicated setting to repeat your header row at the top of every printed page.

Go to Page Layout → Print Titles. In the dialog box, click the field next to Rows to repeat at top and then click the row number of your header row in the spreadsheet (usually row 1). The reference will appear as $1:$1. Click OK. Every page of your PDF will now start with the column headers.

Step Five: Choose Your Conversion Method

Once the sheet is configured correctly, you have several reliable ways to convert it to PDF.

📁 Export from Excel directly

File → Export → Create PDF/XPS. This is the most reliable method as Excel applies all your print settings exactly. Use "Standard" quality for sharing, "Minimum size" for email.

🖨️ Print to PDF

File → Print → change printer to "Microsoft Print to PDF" (Windows) or "Save as PDF" (Mac). Gives you a live preview before saving so you can confirm the layout looks right.

🌐 Online converter

Upload your XLSX to Convixy Excel to PDF. Fastest method when you do not have Excel installed or need to convert from a phone or tablet.

☁️ Google Sheets

Open the XLSX in Google Sheets, then File → Download → PDF. Useful for shared files or when collaborating remotely. Sheets has good layout controls in its PDF export dialog.

Excel PDF Settings Reference

Here is a quick reference for the most useful page layout settings and where to find them:

What you want Where to set it
Define what gets included in the PDF Page Layout → Print Area → Set Print Area
Fit all columns to one page width Page Layout → Scale to Fit → Width: 1 page
Fit everything to a single page Page Layout → Scale to Fit → Width: 1 page, Height: 1 page
Switch between portrait and landscape Page Layout → Orientation
Repeat header row on every page Page Layout → Print Titles → Rows to repeat at top
Show gridlines in the PDF Page Layout → Sheet Options → Gridlines → Print ✓
Add page numbers Insert → Header & Footer → Page Number
Set page margins Page Layout → Margins → Custom Margins
Preview layout before converting File → Print (shows live preview on the right)

Converting Multiple Sheets at Once

By default, Excel only converts the active sheet to PDF. If your workbook has multiple sheets that all need to be included in a single PDF, you need to select them all first.

Right-click any sheet tab at the bottom and choose Select All Sheets, or hold Ctrl and click each tab you want to include. Then go to File → Export → Create PDF/XPS. All selected sheets will be combined into one PDF in tab order. Each sheet starts on a new page.

Tip: If different sheets in your workbook need different orientations — one landscape for a wide data table, one portrait for a summary — set the orientation per sheet before selecting all and exporting. Excel preserves per-sheet page settings when combining into a single PDF.

When to Use an Online Converter Instead

Excel's built-in export is the most precise option when you have control over the file and access to the desktop application. But there are situations where an online converter like Convixy Excel to PDF is the better choice.

Online conversion handles standard XLSX and XLS files reliably for most use cases. For complex workbooks with custom VBA, advanced charts, or pivot tables with heavy formatting dependencies, the desktop export will always give more accurate results.

After Converting: Should You Compress the PDF?

Spreadsheets converted to PDF are usually small — a few hundred kilobytes for a typical data table. The exception is workbooks that contain embedded charts with many data points, high-resolution images inserted into cells, or dozens of sheets. If your Excel PDF is unexpectedly large, running it through a PDF compressor can reduce the file size significantly without affecting the text or table content at all.

For most Excel PDFs being sent by email or uploaded to a portal, compression is not necessary — but it takes ten seconds and never hurts.

Convert your Excel spreadsheet to PDF now

Free, instant, no account needed. Works on any device.