Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default I need to convert a date value into three columns

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default I need to convert a date value into three columns

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default I need to convert a date value into three columns

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,480
Default I need to convert a date value into three columns

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default I need to convert a date value into three columns

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,480
Default I need to convert a date value into three columns

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default I need to convert a date value into three columns

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to convert Gregorian date into Hijri Date in Excel 2007? Ahmed Excel Discussion (Misc queries) 2 February 6th 09 03:59 PM
How do i convert a date into 3 seperate columns? Tone Excel Discussion (Misc queries) 2 July 24th 08 12:11 PM
to convert columns to rows having mulit independent group columns Quacy Excel Worksheet Functions 1 August 22nd 06 11:20 PM
Convert a julian gregorian date code into a regular date Robert Excel Worksheet Functions 3 June 13th 06 07:03 PM
How do I convert numbered columns to lettered columns? ajtp Excel Discussion (Misc queries) 1 January 7th 06 10:39 PM


All times are GMT +1. The time now is 04:30 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"