Solved

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

Posted on 2016-09-05
6
85 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 30

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
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 30

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Excel formula need currency format 1 23
Turn date into age 17 32
Excel VBA 30 38
Transposing this formula ... 5 12
INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
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;…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

856 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