PDF Conversion Issues

How to Fix Excel Date Changes and Hash Symbols When Converting to PDF

Nimra MalikNimra Malik Oct 23, 2026 869 views

Question details

The user needs to fix an issue where Excel date values change formatting or display as hash symbols (####) after exporting the spreadsheet to a PDF.

How to Fix Excel Date Changes and Hash Symbols When Converting to PDF
Product
Excel
Device & OS
not provided
Scenario
Exporting or saving an Excel spreadsheet containing dates into a PDF document.
Observed behavior
During the PDF conversion process, dates either change their format unexpectedly or convert into hash symbols, especially when the cells contain long month names like 'September'.
Before you start

Before converting your file, switch to the Print Preview mode in your spreadsheet to check if the dates are already being truncated or showing up as hash symbols in the print layout.

Solution 1Recommended

Increase Column Width and Row Height

Expanding the cell dimensions ensures that longer date formats have enough space to display fully, preventing Excel from substituting the text with hash symbols during the PDF export.

Hash symbols (####) in Excel indicate that the numerical or date value is too wide to fit within the current cell dimensions. This often happens with dates containing long month names. Widening the column resolves this visual error.

1
Select the affected columns

Click the column letter header (e.g., Column C) that contains the dates displaying as hash symbols.

2
AutoFit the column width

Hover your cursor over the right border of the column header until it turns into a double-sided arrow, then double-click to automatically adjust the width to fit the longest date.

3
Adjust the row height

If the text is wrapping vertically, click and drag the bottom boundary of the row number to make the row taller.

4
Export to PDF

Go to File > Save As, select PDF from the format dropdown, and save the file to verify the dates display correctly.

Increase Column Width and Row Height
Pro Tip: Applying a uniform short date format (like MM/DD/YYYY) to the entire column can also prevent length-related truncation without needing to change column widths.
Convert Spreadsheets Seamlessly

Convert Spreadsheets to PDF Flawlessly with WPS Office

WPS Office features a robust, built-in PDF converter that perfectly maintains your cell dimensions, formatting, and date values, preventing frustrating hash symbol errors during document export.

  1. 1. Open your file in WPS Spreadsheet: Launch WPS Office and open your .xlsx or .xls file containing the date data.
  2. 2. Access the PDF export tool: Navigate to the 'Menu' or 'Tools' tab and click on the 'Export to PDF' option.
  3. 3. Export without errors: Configure your export layout preferences and click 'Export'. The resulting PDF will accurately display all date values without hash symbols.
Accurate Excel-to-PDF conversion with zero layout distortionFully compatible with Microsoft Excel (.xlsx, .xls) formatsIncludes a built-in PDF editor to manage and modify exported filesFree, lightweight, and easy to navigate with a familiar interface
microsoft office alternative - wps office

Frequently Asked Questions

Why does Excel show hash symbols (####) instead of dates?

Excel displays hash symbols when a cell containing a number, date, or time is too narrow to show the entire value. It does this to prevent displaying partial or misleading numbers. Widening the column resolves the issue.

Does changing the date format help fix PDF conversion errors?

Yes. Applying a shorter date format (e.g., 09/25/2023 instead of September 25, 2023) reduces the character length in the cell. This makes it less likely for the text to exceed the column width and convert into hash symbols during the PDF export.

Why do dates look fine in Excel but turn into #### in the PDF?

The rendering engine used for PDF conversion sometimes calculates font sizes and margins slightly differently than the screen display. If the date width is already very close to the cell boundary in Excel, the slight shift during PDF generation can trigger the hash symbol error.