Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default Excel Bug (date format)

I have a excel file imported from some other application. When I try
to apply a formatting to a particular column that has 'date' values,
the formatting does not take effect. For example if the value in the
column is:
1/10/02
If I try to apply a date formatting (Europe) I should get 10/1/02. But
Excel does not do anything. However, if I click on the value of the
column (next to 'fx') then excel recognizes it as Date value and then
I can format it. There are thousands of rows in the file and I can not
manually click on each value so that Excel recognizes it as date
value. How can I have Excel to format it as date when it does not do
anything? The option Format-Cells and then 'Date' is not working and
it is not doing any formatting at all!

What I had done is that originally the column had values like 'SU MTH/
1/02 (Thousands)' and after doing a formula: concatenate("01",mid...) I
get 01/1/02 (I added first of each month) which is European date (day/
month/year) and then I want to apply the formatting for English (UK)
so that excel recognizes it as European date and then formats is as
valid date as English(US).

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 76
Default Excel Bug (date format)

Hi

Try selecting the column of dates and going DataTextToColumns and
click NextNext and then select the import type to be Date and choose
the sequence (DMY by the sounds of it) and click Finish. This should
convert them all to recognised dates.

Incidentally, when you create the date (by stripping the text), if you
add 0 on the end eg:

=("01" & MID(A1,8,5))+0

the conversion should be done automatically for you.

Hope this helps!

Richard


On 6 Mar, 06:37, wrote:
I have a excel file imported from some other application. When I try
to apply a formatting to a particular column that has 'date' values,
the formatting does not take effect. For example if the value in the
column is:
1/10/02
If I try to apply a date formatting (Europe) I should get 10/1/02. But
Excel does not do anything. However, if I click on the value of the
column (next to 'fx') then excel recognizes it as Date value and then
I can format it. There are thousands of rows in the file and I can not
manually click on each value so that Excel recognizes it as date
value. How can I have Excel to format it as date when it does not do
anything? The option Format-Cells and then 'Date' is not working and
it is not doing any formatting at all!

What I had done is that originally the column had values like 'SU MTH/
1/02 (Thousands)' and after doing a formula: concatenate("01",mid...) I
get 01/1/02 (I added first of each month) which is European date (day/
month/year) and then I want to apply the formatting for English (UK)
so that excel recognizes it as European date and then formats is as
valid date as English(US).



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,440
Default Excel Bug (date format)

Your dates are text.
Format an empty cell as number. EditCopy. Select your "dates". EditPaste Special, check Multiply.
Format as date.

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

wrote in message ups.com...
|I have a excel file imported from some other application. When I try
| to apply a formatting to a particular column that has 'date' values,
| the formatting does not take effect. For example if the value in the
| column is:
| 1/10/02
| If I try to apply a date formatting (Europe) I should get 10/1/02. But
| Excel does not do anything. However, if I click on the value of the
| column (next to 'fx') then excel recognizes it as Date value and then
| I can format it. There are thousands of rows in the file and I can not
| manually click on each value so that Excel recognizes it as date
| value. How can I have Excel to format it as date when it does not do
| anything? The option Format-Cells and then 'Date' is not working and
| it is not doing any formatting at all!
|
| What I had done is that originally the column had values like 'SU MTH/
| 1/02 (Thousands)' and after doing a formula: concatenate("01",mid...) I
| get 01/1/02 (I added first of each month) which is European date (day/
| month/year) and then I want to apply the formatting for English (UK)
| so that excel recognizes it as European date and then formats is as
| valid date as English(US).
|


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default Excel Bug (date format)

On Mar 6, 3:14 pm, "RichardSchollar"
wrote:
Hi

Try selecting the column of dates and going DataTextToColumns and
click NextNext and then select the import type to be Date and choose
the sequence (DMY by the sounds of it) and click Finish. This should
convert them all to recognised dates.

Incidentally, when you create the date (by stripping the text), if you
add 0 on the end eg:

=("01" & MID(A1,8,5))+0

the conversion should be done automatically for you.

Hope this helps!

Richard

On 6 Mar, 06:37, wrote:



I have a excel file imported from some other application. When I try
to apply a formatting to a particular column that has 'date' values,
the formatting does not take effect. For example if the value in the
column is:
1/10/02
If I try to apply a date formatting (Europe) I should get 10/1/02. But
Excel does not do anything. However, if I click on the value of the
column (next to 'fx') then excel recognizes it as Date value and then
I can format it. There are thousands of rows in the file and I can not
manually click on each value so that Excel recognizes it as date
value. How can I have Excel to format it as date when it does not do
anything? The option Format-Cells and then 'Date' is not working and
it is not doing any formatting at all!


What I had done is that originally the column had values like 'SU MTH/
1/02 (Thousands)' and after doing a formula: concatenate("01",mid...) I
get 01/1/02 (I added first of each month) which is European date (day/
month/year) and then I want to apply the formatting for English (UK)
so that excel recognizes it as European date and then formats is as
valid date as English(US).- Hide quoted text -


- Show quoted text -


=("01" & MID(A1,8,5))+0


Thanks a lot. That did the trick!

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default Excel Bug (date format)

On Mar 6, 6:22 pm, wrote:
On Mar 6, 3:14 pm, "RichardSchollar"
wrote:





Hi


Try selecting the column of dates and going DataTextToColumns and
click NextNext and then select the import type to be Date and choose
the sequence (DMY by the sounds of it) and click Finish. This should
convert them all to recognised dates.


Incidentally, when you create the date (by stripping the text), if you
add 0 on the end eg:


=("01" & MID(A1,8,5))+0


the conversion should be done automatically for you.


Hope this helps!


Richard


On 6 Mar, 06:37, wrote:


I have a excel file imported from some other application. When I try
to apply a formatting to a particular column that has 'date' values,
the formatting does not take effect. For example if the value in the
column is:
1/10/02
If I try to apply a date formatting (Europe) I should get 10/1/02. But
Excel does not do anything. However, if I click on the value of the
column (next to 'fx') then excel recognizes it as Date value and then
I can format it. There are thousands of rows in the file and I can not
manually click on each value so that Excel recognizes it as date
value. How can I have Excel to format it as date when it does not do
anything? The option Format-Cells and then 'Date' is not working and
it is not doing any formatting at all!


What I had done is that originally the column had values like 'SU MTH/
1/02 (Thousands)' and after doing a formula: concatenate("01",mid...) I
get 01/1/02 (I added first of each month) which is European date (day/
month/year) and then I want to apply the formatting for English (UK)
so that excel recognizes it as European date and then formats is as
valid date as English(US).- Hide quoted text -


- Show quoted text -
=("01" & MID(A1,8,5))+0


Thanks a lot. That did the trick!- Hide quoted text -

- Show quoted text -



=("01" & MID(A1,8,5))+0



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Excel Bug (date format)

If the text "dates" are in a single column, I'd do this:

Select the range (single column at a time)
Data|Text to columns
Fixed width
remove any lines that excel guessed
and tell it you want it treated like a date mdy or dmy or whatever you want.

And finish up by plopping the converted values in the same spot.

Repeat for each column in your data.

wrote:

I have a excel file imported from some other application. When I try
to apply a formatting to a particular column that has 'date' values,
the formatting does not take effect. For example if the value in the
column is:
1/10/02
If I try to apply a date formatting (Europe) I should get 10/1/02. But
Excel does not do anything. However, if I click on the value of the
column (next to 'fx') then excel recognizes it as Date value and then
I can format it. There are thousands of rows in the file and I can not
manually click on each value so that Excel recognizes it as date
value. How can I have Excel to format it as date when it does not do
anything? The option Format-Cells and then 'Date' is not working and
it is not doing any formatting at all!

What I had done is that originally the column had values like 'SU MTH/
1/02 (Thousands)' and after doing a formula: concatenate("01",mid...) I
get 01/1/02 (I added first of each month) which is European date (day/
month/year) and then I want to apply the formatting for English (UK)
so that excel recognizes it as European date and then formats is as
valid date as English(US).


--

Dave Peterson
  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default Excel Bug (date format)

On Mar 6, 7:13 pm, Dave Peterson wrote:
ps. I'd check that I converted the dates correctly by giving them a
non-ambiguous format (even temporarily)--like:

mmmm dd, yyyy





wrote:

I have a excel file imported from some other application. When I try
to apply a formatting to a particular column that has 'date' values,
the formatting does not take effect. For example if the value in the
column is:
1/10/02
If I try to apply a date formatting (Europe) I should get 10/1/02. But
Excel does not do anything. However, if I click on the value of the
column (next to 'fx') then excel recognizes it as Date value and then
I can format it. There are thousands of rows in the file and I can not
manually click on each value so that Excel recognizes it as date
value. How can I have Excel to format it as date when it does not do
anything? The option Format-Cells and then 'Date' is not working and
it is not doing any formatting at all!


What I had done is that originally the column had values like 'SU MTH/
1/02 (Thousands)' and after doing a formula: concatenate("01",mid...) I
get 01/1/02 (I added first of each month) which is European date (day/
month/year) and then I want to apply the formatting for English (UK)
so that excel recognizes it as European date and then formats is as
valid date as English(US).


--

Dave Peterson- Hide quoted text -

- Show quoted text -


Thanks!

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
Excel: I enter date and format for date, but shows as number spohar Excel Discussion (Misc queries) 2 March 10th 06 08:40 PM
Have Excel format xxxxxx into date format Teri Excel Discussion (Misc queries) 3 February 15th 06 07:53 PM
How can I convert a date format to an ISO week format (in EXCEL)? ELI Excel Discussion (Misc queries) 2 July 6th 05 06:31 PM
Excel 2000 date format cannot be set to Australian date format Brian Jones Excel Discussion (Misc queries) 1 March 30th 05 06:03 AM
Excel Default date for date format smurphy123 Excel Discussion (Misc queries) 3 January 23rd 05 09:39 PM


All times are GMT +1. The time now is 07:39 AM.

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

About Us

"It's about Microsoft Excel"