Solved

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

Posted on 2016-09-05
6
108 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 31

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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 31

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 33

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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

626 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