copy/paste into excel changes numbers into date format

I need to copy a lot of raw data from html format into 
excel.

Most of the data consists of a min/max figure (eg. 31/45)

Excel (2003) always converts this number to date format 
no matter what I format the cells as.  I have been 
unsuccesful in converting back to the same format.

Any help or advice is appreciated.
Thanks
0
anonymous (74722)
7/23/2004 7:30:07 AM
excel.misc 78881 articles. 5 followers. Follow

5 Replies
216 Views

Similar Articles

[PageSpeed] 42

Hi
try formating the cell s as 'Text' before pasting the values

-- 
Regards
Frank Kabel
Frankfurt, Germany


Rufus wrote:
> I need to copy a lot of raw data from html format into
> excel.
> 
> Most of the data consists of a min/max figure (eg. 31/45)
> 
> Excel (2003) always converts this number to date format
> no matter what I format the cells as.  I have been
> unsuccesful in converting back to the same format.
> 
> Any help or advice is appreciated.
> Thanks
0
frank.kabel (11126)
7/23/2004 9:49:46 AM
Thanks for the reply, however even if I select the cells 
and format as text, as soon as I paste the copied 
information into excel it still converts into date format.


>-----Original Message-----
>Hi
>try formating the cell s as 'Text' before pasting the 
values
>
>-- 
>Regards
>Frank Kabel
>Frankfurt, Germany
>
>
>Rufus wrote:
>> I need to copy a lot of raw data from html format into
>> excel.
>> 
>> Most of the data consists of a min/max figure (eg. 
31/45)
>> 
>> Excel (2003) always converts this number to date format
>> no matter what I format the cells as.  I have been
>> unsuccesful in converting back to the same format.
>> 
>> Any help or advice is appreciated.
>> Thanks
>.
>
0
anonymous (74722)
7/26/2004 2:44:16 AM
If you format the cell(s) as text, then instead of just pasting, try:

Edit|Paste special
choose Text

(You should see a different paste special dialog show up, since you're copying
from excel.)

If you're only doing one cell's worth of pasting:
format the cell as text
paste into the formula bar.

Both kept the Text format in minor testing (but I couldn't find HTML stuff that
looked like dates to copy--so it wasn't much of a test.)

anonymous@discussions.microsoft.com wrote:
> 
> Thanks for the reply, however even if I select the cells
> and format as text, as soon as I paste the copied
> information into excel it still converts into date format.
> 
> >-----Original Message-----
> >Hi
> >try formating the cell s as 'Text' before pasting the
> values
> >
> >--
> >Regards
> >Frank Kabel
> >Frankfurt, Germany
> >
> >
> >Rufus wrote:
> >> I need to copy a lot of raw data from html format into
> >> excel.
> >>
> >> Most of the data consists of a min/max figure (eg.
> 31/45)
> >>
> >> Excel (2003) always converts this number to date format
> >> no matter what I format the cells as.  I have been
> >> unsuccesful in converting back to the same format.
> >>
> >> Any help or advice is appreciated.
> >> Thanks
> >.
> >

-- 

Dave Peterson
ec35720@msn.com
0
ec35720 (10082)
7/26/2004 10:19:40 PM
Thank you for your reply.  However, if I choose paste 
special -> plain text (or unicode) it pastes about 8 
columns worth of info into 1 cell, [which does not lend 
itself to be saved as text and re-opened allowing you to 
put in cell seperator lines]

an example of the format i need to copy

Item     Current stock     Min/Max
Item1     10                 8/15
Item2     14                 10/25

NOTE:  IF the number does not make a valid date format 
(over 31/31 for example) then it keeps the format intact.

>-----Original Message-----
>If you format the cell(s) as text, then instead of just 
pasting, try:
>
>Edit|Paste special
>choose Text
>
>(You should see a different paste special dialog show 
up, since you're copying
>from excel.)
>
>If you're only doing one cell's worth of pasting:
>format the cell as text
>paste into the formula bar.
>
>Both kept the Text format in minor testing (but I 
couldn't find HTML stuff that
>looked like dates to copy--so it wasn't much of a test.)
>
>anonymous@discussions.microsoft.com wrote:
>> 
>> Thanks for the reply, however even if I select the 
cells
>> and format as text, as soon as I paste the copied
>> information into excel it still converts into date 
format.
>> 
>> >-----Original Message-----
>> >Hi
>> >try formating the cell s as 'Text' before pasting the
>> values
>> >
>> >--
>> >Regards
>> >Frank Kabel
>> >Frankfurt, Germany
>> >
>> >
>> >Rufus wrote:
>> >> I need to copy a lot of raw data from html format 
into
>> >> excel.
>> >>
>> >> Most of the data consists of a min/max figure (eg.
>> 31/45)
>> >>
>> >> Excel (2003) always converts this number to date 
format
>> >> no matter what I format the cells as.  I have been
>> >> unsuccesful in converting back to the same format.
>> >>
>> >> Any help or advice is appreciated.
>> >> Thanks
>> >.
>> >
>
>-- 
>
>Dave Peterson
>ec35720@msn.com
>.
>
0
anonymous (74722)
7/27/2004 4:25:19 AM
But once the data is in a single cell, you can select that column and
do:

Data|text to columns

Make sure you don't leave it general (or choose date) for those things
that look like dates, but aren't.

Another suggestion may be to paste into notepad.  Save as a .txt file.

Then use File|open and get the wizard for parsing your data there.


<anonymous@discussions.microsoft.com> wrote in message news:<4a4a01c47391$b96f5570$a401280a@phx.gbl>...
> Thank you for your reply.  However, if I choose paste 
> special -> plain text (or unicode) it pastes about 8 
> columns worth of info into 1 cell, [which does not lend 
> itself to be saved as text and re-opened allowing you to 
> put in cell seperator lines]
> 
> an example of the format i need to copy
> 
> Item     Current stock     Min/Max
> Item1     10                 8/15
> Item2     14                 10/25
> 
> NOTE:  IF the number does not make a valid date format 
> (over 31/31 for example) then it keeps the format intact.
> 
> >-----Original Message-----
> >If you format the cell(s) as text, then instead of just 
>  pasting, try:
> >
> >Edit|Paste special
> >choose Text
> >
> >(You should see a different paste special dialog show 
>  up, since you're copying
> >from excel.)
> >
> >If you're only doing one cell's worth of pasting:
> >format the cell as text
> >paste into the formula bar.
> >
> >Both kept the Text format in minor testing (but I 
>  couldn't find HTML stuff that
> >looked like dates to copy--so it wasn't much of a test.)
> >
> >anonymous@discussions.microsoft.com wrote:
> >> 
> >> Thanks for the reply, however even if I select the 
>  cells
> >> and format as text, as soon as I paste the copied
> >> information into excel it still converts into date 
>  format.
> >> 
> >> >-----Original Message-----
> >> >Hi
> >> >try formating the cell s as 'Text' before pasting the
>  values
> >> >
> >> >--
> >> >Regards
> >> >Frank Kabel
> >> >Frankfurt, Germany
> >> >
> >> >
> >> >Rufus wrote:
> >> >> I need to copy a lot of raw data from html format 
>  into
> >> >> excel.
> >> >>
> >> >> Most of the data consists of a min/max figure (eg.
>  31/45)
> >> >>
> >> >> Excel (2003) always converts this number to date 
>  format
> >> >> no matter what I format the cells as.  I have been
> >> >> unsuccesful in converting back to the same format.
> >> >>
> >> >> Any help or advice is appreciated.
> >> >> Thanks
> >> >.
> >> >
> >
> >-- 
> >
> >Dave Peterson
> >ec35720@msn.com
> >.
> >
0
ec35720 (10082)
7/27/2004 4:06:35 PM
Reply:

Similar Artilces:

Transform table into calendar format
I have a table with dates (column A) and events (column B). I wanted to know how I automatically create a calendar template with the events I have on this separate sheet. Send me an email to: pashurst <at> auditel.net (change the obvious), and I'll send you a file that does just what you describe. Hope this helps. Pete On Nov 18, 9:55=A0pm, Matheus <Math...@discussions.microsoft.com> wrote: > I have a table with dates (column A) and events (column B). I wanted to k= now > how I automatically create a calendar template with the events I have on = ...

Counting number of X's in a column
I need to sum up the number of "Xs" in a column. I would be extremely grateful if someone could help me with the formula. I cannot seem to get one to work. We are using Excel 2003. Thank you. -- Susie Harris Operations Manager Environmental Education Association of Washington =COUNTIF(A:A,"X") -- HTH RP (remove nothere from the email address if mailing direct) "Susie Harris" <SusieHarris@discussions.microsoft.com> wrote in message news:FFA0FB17-C922-48A8-B3C3-0D487C1E6F6A@microsoft.com... > I need to sum up the number of "Xs" in a col...

Auto-format in Microsoft Excel.
Each time i try to enter a number range, for example, 8- 10, in Excel, it constantly re-formats it to a date. If I change the formatting to "General" it turns it into a random number, usually 38209. I would like to turn off ALL auto-formatting, but that's probably asking too much. How do I disable this frustrating feature? thanks. Hi Paul When you enter "8-10" in a cell, that's not strictly a number but Excel thinks you mean a date so converts it as such. A date is a number and in your example the number 38209 represents August 10 2004 which is not a ra...

Excel not Access
I have designed an Access database that holds records relating to my stores audit results going back for about 5 years plus a load more information relating to these stores. This was used to produe a pack once a month, however a change in senior management means that I have got to shelve this and prodce a similar pack in Excel. The idea would be that the user could select a month or a 12 mnth date range that would produce data that could then be used to populate a number of excel templates that have been designed. Having not used excel for years I would be grateful for any suggestion...

New Disk storage
Hi, I'm planning on adding a new SAN to our Exchange system (Active/Passive 2 node cluster) and this has been connected to the Exchange cluster nodes and is accessible as shared disk storage. But that isn't the question I've got, basically the mail stores are currently located on a Powervault (Drive S:) and I need to present a plan for moving this data (14 databases) onto the SAN storage, I can see two options Option1) Use the ESM to migrate databases to new drive letter 1. Use exmerge to export all email to PST files (and ensure backup) 2. use the ESM utility to change the...

How to keep format when importing Excel into SQL.
Can anybody help me please? When I import Excel file into SQL, a field that formated as 0000000000 (custom), loosing leading zeros. I tried to change data type in SQL after importing. No luck. I appretiate any help. See if using IMEX=1 helps: http://pratchev.blogspot.com/2007/10/importing-excel-data-into-sql-server.html -- Plamen Ratchev http://www.SQLStudio.com Plamen, I tried this, but got an error: "The OLE DB provider "Microsoft.Jet.OLEDB.4.0" has not been registered." Thank you very much for looking into this. "Plamen Ratchev" wr...

Input Excel 'Password to Open' through control in access form
Hi All, We know,Excel has prompt password to open it files. Is it possible to create a code that can supplies the excel prompt password?.So that when we open the excel file through our access control in a form, the excel files can be opened automatically.But when the excel files opened from its default icon,it will prompt a password first. ...

Sort ascending, make changes, restore previous order
I've got an AutoFilter in a spreadsheet. I want to sort ascending, mak some changes to some cells, then restore the previous order. Can thi be done easily or will this require some programming?? Thanks in advane! Matt -- BVHi ----------------------------------------------------------------------- BVHis's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=859 View this thread: http://www.excelforum.com/showthread.php?threadid=47508 I'd use a helper column. Put =row() and drag down. Convert it to values (edit|copy, edit|paste special|values) Do all y...

How do you change the background color of a picture?
I have a image that I have copy and pasted, however I want to fill behind the image. I know how to fill and all that, my problem is that it recognizes the entire image as a picture, I was wondering if there is a way to change the background while the image lays on top? sureisdifferent wrote: > I have a image that I have copy and pasted, however I want to fill > behind the image. I know how to fill and all that, my problem is that > it recognizes the entire image as a picture, I was wondering if there > is a way to change the background while the image lays on top? =============...

copy my vb project... is it as easy as copying the directory..
Hi, I want to take a copy of a project so I have two projects the same.. the idea is i can play around with one, and not effect the original.. is it as easy as just using file explorer to copy the directory from say c:\project1 to c:\project2... or do the project files like forms etc have paths in them and therefore I can't just copy like this.. thanks "AussieRules" <nospam@nospam.com> wrote in message news:uzrSvxp6KHA.5112@TK2MSFTNGP02.phx.gbl... > Hi, > > I want to take a copy of a project so I have two projects the same.. the > i...

Excel 2007
When I select cells to copy as a picture in Excel 2007, the resolution is terrible. Text and objects with shadow's are very blotchy when pasting the picture. How do you change the resolution of a 'Copy Picture'? ...

Copy entire row where CellValue=0
I need to loop through the collumn and search for value that is more then 0. When I find it I need to copy whole row and paste it 2-3 rows below the table. I tried to select the collumn and search the selection but for some reason I copy and paste only one row. Thank you for any help. Hi as a starting point: http://www.rondebruin.nl/copy5.htm -- Regards Frank Kabel Frankfurt, Germany "OxanaB" <OxanaB@discussions.microsoft.com> schrieb im Newsbeitrag news:8628F791-CF2D-480A-9EBF-6C31BCEF0293@microsoft.com... > I need to loop through the collumn and search for value tha...

Parsing data from one spreadsheet into another format
The data that we dump out of one machine comes in like below. %AT_1300 Bottoms|Conductivity| (Water Out) InputRange VDC1to5 %AT_1300 Bottoms|Conductivity| (Water Out) Custom_Range_Low 0.0 %AT_1300 Bottoms|Conductivity| (Water Out) Custom_Range_Hi 0.0 %AT_1300 Bottoms|Conductivity| (Water Out) MinScale 0.0 %AT_1300 Bottoms|Conductivity| (Water Out) MaxScale 20.0 %AT_1300 Bottoms|Conductivity| (Water Out) EngUnits mhos %AT_1300 Bottoms|Conductivity| (Water Out) StepResponseTime 1.0 %AT_1300 Bottoms|Conductivity| (Water Out) DigFiltTimeCnst 0.016 And I need to convert this data to this f...

How do I use traffic lights in excel
I am wanting to use traffic lights in excel that change colour based on the result of a variance cell, ie if the result of the cell is 10 make the traffic light green, if it is 20 make the traffic light amber, if the result is 30 make the traffic light red. How do I do this? Shorty Format>Conditional Formatting>Cell Value is: Note: you can add up to 3 conditions(4 if you count default) Gord Dibben Excel MVP On Wed, 22 Dec 2004 16:35:03 -0800, Shorty <Shorty@discussions.microsoft.com> wrote: >I am wanting to use traffic lights in excel that change colour based on the &g...

Trying to find out which numbers occure most often
I�m giving exams to students and want to see if the students are missin the same questions in every class. I have a simple spreadsheet tha has me enter the question number into the column each time a questio is missed. The MODE function can tell me which number is occurrin most often. However, I need to see if there is any other numbers tha are occurring often as well. Is there a command that will allow me to look at the second mos entered number? For example, if I have 5,3,3,2,3,4,3,4,1,3,4, my mod would be 3 as that�s the number that repeats the most. However, happens 3 times and that...

How To Copy MS Word mailing labels into Excel
I have a word doc that I want to put into Excel. I want to add some more fields to the names and addresses. Is this simple or do I have to learn how to program? Michael Rodriguez City of Grand Prairie Michael, have you tried to copy and paste the data into excel? -- Paul B Always backup your data before trying something new Please post any response to the newsgroups so others can benefit from it Feedback on answers is always appreciated! Using Excel 2000 & 97 ** remove news from my email address to reply by email ** "Michael Rodriguez" <mrodrigu@gptx.org> wrote in messa...

How can I change 'Normal' Style for Word e-mails to 'Normal (Web)'?
Hi, I'm using Word as my e-mail editor in Outlook 2003 and want to change the default Style for e-mails from 'Normal' to 'Normal (Web)'. The problem is that new e-mails and replies in HTML format use the 'Normal' Microsoft Word 'Style', and this has no gap after paragraphs. The upshot of this is that when sending an e-mail, I have to press return twice to create a gap, but when the recipient views this, their software shows it as four gaps (the extra carriage return I typed + their correctly viewed HTML carriage return after each line). E.g. I type this: ...

Phone number normalizing and auto-formatting
I really appreciate the way that Outlook auto-normalizes phone numbers - for example, here in the US, I can enter 5555555555 and Outlook automagically formats that to (555) 555-5555. Why CRM 3.0 doesn't do this out of the box is strange but if anyone has ideas on how to implement, that'd be greatly appreciated. I've worked very hard to normalize all my data before import, but I know it's a matter of time before our users (ok, our sales people) destroy all that hard work by entering garbage into every phone field entry that the system cannot auto-normalize and error ch...

formula based on format
Is there a way to have a formula that is based on a cell colour or based on the way a cell is formated? I need it to count the number of occurrences that this happens. -- Thank you for your time. Windows NT Office 97 Hi you'll need VBA. See for an example: http://cpearson.com/excel/colors.htm "James Kendall" wrote: > Is there a way to have a formula that is based on a cell colour or based on > the way a cell is formated? I need it to count the number of occurrences > that this happens. > -- > Thank you for your time. > Windows NT > Office 97 This ...

Change File Locations to Private Drive (not Folder)
Hi, I know that I can use "File Locations" in "Options" so that whenever I use the "Open..." command in Word, it will open to a specific folder. I'm wondering if there is a way that this can be applied not to a folder but to a specific drive on a network. Our company has a main public drive and has also assigned each of the Staff their own private drive. Is there a way to access the "main page" (for lack of a better term) of my private drive each time I use "Open..." in Word? Right now it goes to "My Computer" or ...

help with simple maths in excel
I want to do a simple arithmatic excercise in excel for my grand daughter. It is stuff like 2+2 =4 Smart me has hit a problem at the first hurdle... I need to put 2 in one cell the + in another cell and then 2 in another = in another and then she puts the answer in the next one. So the above would have 4 cells completed and she would put the answer in the 5th one. When I use the + or = sign in a cell of its own it (excel) thinks I am doing an equation, is there a way around this? I will work on the answer like if she gets it correct or wrong how I will do that...a sound or som...

Unexpected error message on closing an Excel file
Suddenly I am getting the following message when I try to close a workbook: "Your formula contains an invalid external reference to a worksheet. Verify that the path, workbook, and range name or cell reference are correct, and try again" The mysterious thing is that it does not happen consistently and that, after I click OK after the above message, I can still save the file. What might be the cause of this error message and can the "invalid reference" be tracked down using one of the utility add-ins such as J. Walkenbach's PUP? If it only happens when you close ...

Opening Excel Workbooks
I'm running into an issue where if I click on an Excel file through My Documents, it doesn't automatically bring it up. I get the toolbar but the actual spreadsheet doesn't appear on the screen. I have to click on the taskbar to get it to pop up. If I already have Excel active and I open a file through Excel, this doesn't happen. Any ideas? Here is a similar thread: http://www.excelforum.com/showthread.php?s=&threadid=237195 Rolli -- Message posted from http://www.ExcelForum.com Hi, Take a look at Tools-Options-General tab- uncheck ignore other application...

How to change font size on formula bar in Excell 2007
I don't find Tools>Options>General (as suggested in other post answers) in Excel 2007. On the Office button there is an Excel Options but it doesn't provide a method of changing font size on the office but. My font is so small I can barely see it. Office button>ExcelOptions>Popular tab>in the "When creating new workbooks" section, choose font and font size -- Kind regards, Niek Otten Microsoft MVP - Excel "jimwillie" <jimwillie@discussions.microsoft.com> wrote in message news:588AAC05-0F52-404E-AA01-128E70E02D0B@microso...

Number 040
How can I put the numbers starting by zero? I want to put the number 040 as a number but it dont allow me. Any help... -- Drazic ------------------------------------------------------------------------ Drazic's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=24602 View this thread: http://www.excelforum.com/showthread.php?threadid=381894 to put 040, enter '040 but this converts it to text. Another method would be to enter 40 and then format the cell as custo and enter 000 in the box. Manges -- mangesh_yada ---------------------------------------------...