Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I work with a lot of sports related data:
Wins - Losses - Ties is reprented as 10-15-1 When I copy and paste this information into excel, it converts it to a date value I need to get this information back into a text format and break it into three columns. A=10 B=15 C=1 How can I do this automatically, without having to manually enter it. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
Pre-format the cell(s) as text or before you paste the values or type an apostrophe ' you won't see it in the cell. To break it into 3 columns, select the data and then Data|Text to columns - select delimited - next Check 'Other' and put a - sign in the 'other' box - Finish Mike "jcrenstrom" wrote: I work with a lot of sports related data: Wins - Losses - Ties is reprented as 10-15-1 When I copy and paste this information into excel, it converts it to a date value I need to get this information back into a text format and break it into three columns. A=10 B=15 C=1 How can I do this automatically, without having to manually enter it. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I am taking the info from the web, so I formatted the column which the data
is being pasted to and formatted the column to text, it worked, with a few anamolies. 10-17 becomes 17-Oct Thus when using LEFT - MID - RIGHT functions I get : 40, 10 I do not understand the (') function.. how could this be helpful? "Mike H" wrote: Hi, Pre-format the cell(s) as text or before you paste the values or type an apostrophe ' you won't see it in the cell. To break it into 3 columns, select the data and then Data|Text to columns - select delimited - next Check 'Other' and put a - sign in the 'other' box - Finish Mike "jcrenstrom" wrote: I work with a lot of sports related data: Wins - Losses - Ties is reprented as 10-15-1 When I copy and paste this information into excel, it converts it to a date value I need to get this information back into a text format and break it into three columns. A=10 B=15 C=1 How can I do this automatically, without having to manually enter it. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi
Try formatting the column as Text, prior to posting any data. -- Regards Roger Govier "jcrenstrom" wrote in message ... I work with a lot of sports related data: Wins - Losses - Ties is reprented as 10-15-1 When I copy and paste this information into excel, it converts it to a date value I need to get this information back into a text format and break it into three columns. A=10 B=15 C=1 How can I do this automatically, without having to manually enter it. |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks roger... I did.
Here is what is wierd.. I am copying and pasting from a website. I preformat the column to text prior to pasting. It keeps all the cells in a text format, except when the first number is less than the second number: For example: the website value of 17-10 works, but a cell value of 10-17 gets converted to 17-Oct. The first thing I tried was to paste special, but it will not allow me to use this function becuase of other merged cells on the web site, not on my spreadsheet, thus I can only use the normal paste function. I cannot figure out why it is converting these values... when it is leaving the other values as they are? "Roger Govier" wrote: Hi Try formatting the column as Text, prior to posting any data. -- Regards Roger Govier "jcrenstrom" wrote in message ... I work with a lot of sports related data: Wins - Losses - Ties is reprented as 10-15-1 When I copy and paste this information into excel, it converts it to a date value I need to get this information back into a text format and break it into three columns. A=10 B=15 C=1 How can I do this automatically, without having to manually enter it. |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi
The reason why it changes some and not others. I guess you are set for American date format mm dd yyyy Since 17 would be invalid as a month number, then it ignores a date conversion for 17-10. 10 is a valid month number, hence 10-17 becomes 17-Oct A solution might be to paste the values into Notepad, not into Excel. Save the file as Filename.txt In Excel FileOpenAll filesFilename.txt This will invoke the DataText to Columns WizardNextOther"-"Finish You will than have your data in 3 columns all in one go. -- Regards Roger Govier "jcrenstrom" wrote in message ... Thanks roger... I did. Here is what is wierd.. I am copying and pasting from a website. I preformat the column to text prior to pasting. It keeps all the cells in a text format, except when the first number is less than the second number: For example: the website value of 17-10 works, but a cell value of 10-17 gets converted to 17-Oct. The first thing I tried was to paste special, but it will not allow me to use this function becuase of other merged cells on the web site, not on my spreadsheet, thus I can only use the normal paste function. I cannot figure out why it is converting these values... when it is leaving the other values as they are? "Roger Govier" wrote: Hi Try formatting the column as Text, prior to posting any data. -- Regards Roger Govier "jcrenstrom" wrote in message ... I work with a lot of sports related data: Wins - Losses - Ties is reprented as 10-15-1 When I copy and paste this information into excel, it converts it to a date value I need to get this information back into a text format and break it into three columns. A=10 B=15 C=1 How can I do this automatically, without having to manually enter it. |
#7
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Preceding the data with an apostrophe forces it to be treated as text,
rather than being interpreted as a number or a date. -- David Biddulph "jcrenstrom" wrote in message ... .... I do not understand the (') function.. how could this be helpful? "Mike H" wrote: Hi, Pre-format the cell(s) as text or before you paste the values or type an apostrophe ' you won't see it in the cell. To break it into 3 columns, select the data and then Data|Text to columns - select delimited - next Check 'Other' and put a - sign in the 'other' box - Finish Mike "jcrenstrom" wrote: I work with a lot of sports related data: Wins - Losses - Ties is reprented as 10-15-1 When I copy and paste this information into excel, it converts it to a date value I need to get this information back into a text format and break it into three columns. A=10 B=15 C=1 How can I do this automatically, without having to manually enter it. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to convert Gregorian date into Hijri Date in Excel 2007? | Excel Discussion (Misc queries) | |||
How do i convert a date into 3 seperate columns? | Excel Discussion (Misc queries) | |||
to convert columns to rows having mulit independent group columns | Excel Worksheet Functions | |||
Convert a julian gregorian date code into a regular date | Excel Worksheet Functions | |||
How do I convert numbered columns to lettered columns? | Excel Discussion (Misc queries) |