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 sliced at the page edge, rows disappearing onto a second sheet with no indication, 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 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

Columns are cut off at the right edge
Set the print area and use “Fit to Page” scaling — covered in detail below
Only the first page has column headers
Set Print Titles to repeat the header row on every page (Page Layout → Print Titles)
Gridlines are missing in the PDF
Enable gridlines for printing: Page Layout → Sheet Options → Gridlines → Print
The table is tiny and centred on a huge blank page
Define a print area that covers only the data range, not the entire sheet
Page breaks appear in the middle of data rows
Use Page Break Preview (View → Page Break Preview) to reposition breaks manually
Wrong page orientation (landscape vs portrait)
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 attempts 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 page edge.

Once the print area is defined, only that range will appear in the PDF. Blank rows or stray content outside the selection 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. Go to Page Layout → Scale to Fit. Change Width to 1 page and leave Height on Automatic. This forces all columns to fit on a single page width, while letting content flow naturally across as many rows as needed.

Caution: If your spreadsheet has many columns, fitting everything to one page width can make 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 or dashboard — 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. 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. Go to Page Layout → Print Titles. In the dialog, click the field next to Rows to repeat at top and 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. Most reliable method — 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 a live preview so you can confirm the layout before saving.

Online converter

Upload your XLSX to Convixy Excel to PDF. Fastest method when you don’t 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 collaborating remotely. Sheets has good layout controls in its PDF export dialog.

Excel PDF Settings Reference

What you want Where to set it
Define what gets included in the PDFPage Layout → Print Area → Set Print Area
Fit all columns to one page widthPage Layout → Scale to Fit → Width: 1 page
Fit everything to a single pageScale to Fit → Width: 1 page, Height: 1 page
Switch between portrait and landscapePage Layout → Orientation
Repeat header row on every pagePage Layout → Print Titles → Rows to repeat at top
Show gridlines in the PDFPage Layout → Sheet Options → Gridlines → Print
Add page numbersInsert → Header & Footer → Page Number
Set page marginsPage Layout → Margins → Custom Margins
Preview layout before convertingFile → 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, right-click any sheet tab 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, with each sheet starting on a new page.

Tip: If different sheets 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 the desktop application. But there are situations where an online converter like Convixy Excel to PDF is the better choice: you are on a phone or tablet, you received a spreadsheet and do not have Excel installed, or you need to convert several files quickly without opening each in Excel individually.

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, 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.

Convert your Excel spreadsheet to PDF now

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