How to Paste PDF Data into Excel Without Converting to Dates
Question details
The user needs to paste data containing slashes or hyphens from a PDF into Excel without the software automatically converting the values into standard date formats.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Copying tabular data, fractions, or part numbers formatted with slashes from a PDF document and pasting them into an Excel spreadsheet.
- Observed behavior
- Excel automatically triggers its AutoFormat feature, misinterpreting the slash-separated text as dates and altering the original data values permanently.
Ensure you copy the raw data directly from the PDF first, and remember that changing cell formatting must be done strictly before pasting to prevent permanent data alteration.
Pre-format Destination Cells as Text Before Pasting
This is the most reliable method. By explicitly telling Excel that the destination cells should be treated as plain text, you disable the automatic date conversion feature.
Excel's default 'General' format attempts to guess the data type you are pasting. If it sees numbers separated by slashes, it guesses it is a date. Formatting the cells as 'Text' forces Excel to accept the exact characters you paste.
Highlight the specific blank cells, columns, or rows in your Excel worksheet where you intend to paste the copied PDF data.
Navigate to the 'Home' tab on the ribbon. In the 'Number' group, click the dropdown menu (which usually says 'General') and scroll down to select 'Text'.
Right-click the first cell of your formatted range and select 'Paste' (or press Ctrl+V). The data will now appear exactly as it did in the PDF, with no date conversion.

Use the Text Import Wizard via Text to Columns
If you are pasting a large block of text from a PDF that all lands in a single column, you can use the Text Import Wizard to parse the data and define specific columns as Text.
Extract PDF Data Perfectly with WPS Office
WPS Office provides a seamless way to handle PDF data. You can either pre-format cells as Text in WPS Spreadsheet to paste data manually, or use the dedicated 'PDF to Excel' conversion tool to extract whole tables accurately without triggering unwanted date formatting.
- 1. Open WPS Office: Launch WPS Office and open your target Spreadsheet.
- 2. Format Cells as Text: Select the destination cells, go to the Home tab, and change the format dropdown from General to Text.
- 3. Paste Data: Paste your copied PDF data securely into the cells without worrying about date conversions.
- 4. Alternative: Use PDF to Excel: Open your PDF directly in WPS Office, click 'PDF to Excel' on the toolbar, and let the software convert the tables flawlessly into a new spreadsheet.

Frequently Asked Questions
Why does Excel automatically change my numbers with slashes into dates?
Excel has a built-in AutoFormat feature designed to anticipate user needs. When you input or paste data containing numbers separated by slashes (/) or hyphens (-), Excel assumes you are entering a date and automatically formats it as such. Pre-formatting the cell to Text disables this behavior.
Can I use 'Paste Special' to stop the date conversion?
Using 'Paste Special > Values' will not prevent date conversion if the receiving cell is still formatted as 'General'. The cell must strictly be formatted as 'Text' before you perform the paste action.
How do I fix my data if Excel has already converted it to dates?
Unfortunately, you cannot simply change the cell format back to Text. Doing so will reveal the internal serial number Excel uses for dates (e.g., 44100). You must undo the paste, format the blank destination cells as Text, and then paste the data again.
Why did my data turn into a 5-digit number when I used the Format Painter?
If you pasted the data first (allowing it to convert to a date) and then used the Format Painter to apply the Text format, Excel displays the underlying mathematical serial number of that date. Always use the Format Painter to format the empty cells before you paste.




