Solved

How to make Excel stop converting my data to dates..??

Posted on 2016-09-05
6
76 Views
1 Endorsement
Last Modified: 2016-09-06
I'm working with the following source:  http://www.usatt.net/league/singles/match_records.asp

From that URL you will probably need to select a league from the drop-down and display its results.

This displays a table which includes a column for Won/Lost.  I'm selecting this table in the web browser and copy/pasting into Excel.  Everything is coming into its own cell nicely, but the Won/Lost column is getting converted to a date for some reason.  For example, it sees 4 - 2 as April 2nd.  

I've tried paste as text, paste as unicode, paste as html, but each do the same thing.  After the paste I tried to format the cells back to a "general" format but then it ends up with some very large number like 42587.  No idea where that comes from.

How can I get that data to paste in as-is and not convert anything?  Any information on this would be greatly appreciated.  Thanks!
1
Comment
Question by:Andrew Angell
6 Comments
 
LVL 1

Assisted Solution

by:Stefan Hoffmann
Stefan Hoffmann earned 250 total points
ID: 41785573
I had a similar issue a while ago. What helped me was to change the cells format to "text" _before_ copying the content into excel. Then paste the content.
Bildschirmfoto-2016-09-06-um-07.02.0.png
0
 
LVL 29

Accepted Solution

by:
Subodh Tiwari (Neeraj) earned 250 total points
ID: 41785576
Before pasting the data onto the sheet, format the columns as TEXT and then right click in A1 and under Paste Options, choose Match Destination Formatting.
1
 
LVL 11

Author Closing Comment

by:Andrew Angell
ID: 41785582
Thanks!
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 29

Expert Comment

by:Subodh Tiwari (Neeraj)
ID: 41785604
You're welcome Andrew!
0
 
LVL 2

Expert Comment

by:Alex Smith
ID: 41785643
Hi Andrew,

Before pasting the data you must be select all the cell and follow the instruction as given in URL

https://support.office.com/en-us/article/Stop-automatically-changing-numbers-to-dates-452bd2db-cc96-47d1-81e4-72cec11c4ed8

Let me know if your issue not resolved.

Regards
Alex
0
 
LVL 32

Expert Comment

by:Rob Henson
ID: 41785864
After the paste I tried to format the cells back to a "general" format but then it ends up with some very large number like 42587.  No idea where that comes from.

Excel deals with dates as a serial number based on a historical date of 01 Jan 1900 and dates are then a number of days since that date, so 42587 days after 01 Jan 1900 = 5 Aug 2016

Time is then handled as a decimal part of a day 0.25 = 6am, 0.5 = 12 noon, 0.75 = 6pm etc, ie 1/24 as a decimal for each hour.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question