logo
search
Formatting Issues

How to Fix Excel Online Pasting Dates as Hash Marks (#####)

WPS EditorWPS Editor Oct 10, 2026 870 views

Question details

Users experience an issue where dates copied from a desktop Excel file paste as literal hash marks (#####) into Excel Online.

How to Fix Excel Online Pasting Dates as Hash Marks (#####)
Product
Microsoft Excel
Device & OS
not provided
Scenario
Copying date values from a desktop spreadsheet where columns are too narrow and pasting them into Excel Online.
Observed behavior
Excel Online displays the pasted cells as hash marks (#####) instead of their underlying date values.
Before you start

Before you begin troubleshooting, ensure that you have access to the original desktop Excel file where the data is being copied from, as the fix requires adjusting the source data.

Solution 1Recommended

Widen Source Columns Before Copying

This is the most straightforward method. By expanding the column width in the desktop application, you ensure the actual date is visible and copied to the clipboard instead of the hash marks.

When Excel columns are too narrow to display a formatted date or number, the software visually represents this overflow with hash marks (#####). If you copy the cell in this state, Excel may transfer the visual display rather than the underlying data to the clipboard.

1
Open the Source File

Launch your desktop version of Excel and open the spreadsheet containing the dates you want to copy.

2
Autofit the Column Width

Hover your mouse cursor over the boundary line between the column headers (e.g., between columns A and B) until it turns into a double-sided arrow. Double-click to automatically widen the column so all dates are fully visible.

3
Copy and Paste

Highlight the date cells, press Ctrl+C to copy, navigate to your Excel Online spreadsheet, and press Ctrl+V to paste. The dates should now appear correctly.

Widen Source Columns Before Copying
Quick Tip: You can also manually click and drag the column header boundary to the right to increase the width to your desired size.
Free Microsoft Office alternative

Try WPS Office for Seamless Spreadsheet Management

If you are tired of formatting glitches and compatibility issues between desktop and online spreadsheets, WPS Office offers a powerful, seamless alternative. Experience zero formatting loss when switching between devices or the cloud, all within a familiar user interface.

  1. 1. Download the App: Visit the official WPS Office website and download the free desktop application for your operating system.
  2. 2. Open Your Spreadsheet: Launch WPS Spreadsheets and open your existing .xlsx file directly without needing any conversion.
  3. 3. Copy and Paste Flawlessly: Enjoy stable clipboard interactions and formatting preservation, whether you are managing local files or using the WPS Cloud ecosystem.
Completely free and lightweight office suiteExceptional compatibility with Microsoft Excel (.xlsx) formatsFamiliar user interface requiring zero learning curveSeamless cloud synchronization without formatting glitches
microsoft office alternative - wps office

Frequently Asked Questions

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

Excel automatically displays hash marks (#####) when a column's width is too narrow to show the full formatted date or number. This is purely a visual mechanism to prevent you from reading partial numbers inaccurately; the correct underlying data remains intact.

How can I quickly autofit all column widths in a spreadsheet?

Click the 'Select All' triangle in the top-left corner of the spreadsheet (where the row and column headers intersect). Then, double-click on any boundary line between two column letters. This will instantly autofit every column in the sheet to its contents.

Will pasting as plain text fix the date formatting issue?

No. If you copy a cell that is displaying ##### because the column is narrow, copying and pasting as plain text will literally paste the ##### characters. You must either widen the source column first or use the 'Paste Values' option to extract the true underlying data.