Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default cell format - not automatically taking effect

I am trying to process a large amount of data that has the format dd/mm/yyyy
hh:mm:ss and needs to be converted into yyyy/mm/dd hh:mm:ss. I have
successfully created a custom cell format for the date, but the cells will
only change when I double click on them, which is not practicable for the
amount of data I have. Format painting does not automatically change the
cells. Paste special does not work and I have also tried saving & closing
the worksheet, to no avail. Anyone got any clues?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default cell format - not automatically taking effect

It should change as soon as you apply the new format. I wonder whether your
cells may actually be text, rather than real Excel dates and times. Try
=ISTEXT(cellref) and =ISNUMBER(cellref). If ISTEXT is true, you'll need to
convert from text to number. Techniques which may work include:
Data/Text to columns, or
Copy a blank cell, then select your text dates, and Edit/ Paste Special/
Add.
--
David Biddulph

"Joll" wrote in message
...
I am trying to process a large amount of data that has the format
dd/mm/yyyy
hh:mm:ss and needs to be converted into yyyy/mm/dd hh:mm:ss. I have
successfully created a custom cell format for the date, but the cells will
only change when I double click on them, which is not practicable for the
amount of data I have. Format painting does not automatically change the
cells. Paste special does not work and I have also tried saving & closing
the worksheet, to no avail. Anyone got any clues?



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default cell format - not automatically taking effect

David

Thank you for the swift response.

I tried the test and the cells were not text (i.e. the test result was
"false"). Then I worked a bit harder on it and discovered that some were and
some weren't (no idea why). So, your advice was good and the problem is now
solved - many thanks!

J

"David Biddulph" wrote:

It should change as soon as you apply the new format. I wonder whether your
cells may actually be text, rather than real Excel dates and times. Try
=ISTEXT(cellref) and =ISNUMBER(cellref). If ISTEXT is true, you'll need to
convert from text to number. Techniques which may work include:
Data/Text to columns, or
Copy a blank cell, then select your text dates, and Edit/ Paste Special/
Add.
--
David Biddulph

"Joll" wrote in message
...
I am trying to process a large amount of data that has the format
dd/mm/yyyy
hh:mm:ss and needs to be converted into yyyy/mm/dd hh:mm:ss. I have
successfully created a custom cell format for the date, but the cells will
only change when I double click on them, which is not practicable for the
amount of data I have. Format painting does not automatically change the
cells. Paste special does not work and I have also tried saving & closing
the worksheet, to no avail. Anyone got any clues?




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default cell format - not automatically taking effect

Glad to hear it. Thanks for letting us know that it's sorted.
--
David Biddulph

"Joll" wrote in message
...
David

Thank you for the swift response.

I tried the test and the cells were not text (i.e. the test result was
"false"). Then I worked a bit harder on it and discovered that some were
and
some weren't (no idea why). So, your advice was good and the problem is
now
solved - many thanks!

J

"David Biddulph" wrote:

It should change as soon as you apply the new format. I wonder whether
your
cells may actually be text, rather than real Excel dates and times. Try
=ISTEXT(cellref) and =ISNUMBER(cellref). If ISTEXT is true, you'll need
to
convert from text to number. Techniques which may work include:
Data/Text to columns, or
Copy a blank cell, then select your text dates, and Edit/ Paste Special/
Add.
--
David Biddulph

"Joll" wrote in message
...
I am trying to process a large amount of data that has the format
dd/mm/yyyy
hh:mm:ss and needs to be converted into yyyy/mm/dd hh:mm:ss. I have
successfully created a custom cell format for the date, but the cells
will
only change when I double click on them, which is not practicable for
the
amount of data I have. Format painting does not automatically change
the
cells. Paste special does not work and I have also tried saving &
closing
the worksheet, to no avail. Anyone got any clues?








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
Funtions Not Taking Effect BrownsFan Excel Worksheet Functions 4 November 10th 08 06:34 PM
A Stumper! Format Cell Changes don't take effect Craterdude Excel Discussion (Misc queries) 2 June 20th 07 09:05 PM
time format not taking new entry Liz McLean Excel Discussion (Misc queries) 4 April 23rd 07 09:34 PM
Automatic greenbar effect, varied color, corrects with re-format Brent -- DNA Excel Worksheet Functions 1 February 11th 06 06:05 PM
Excel not taking number format consistently KP Conrad Excel Discussion (Misc queries) 1 September 22nd 05 07:37 PM


All times are GMT +1. The time now is 07:26 PM.

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"