Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Date Format "stuck"

Sometimes - especially when I copy/paste from Access - dates look like dates,
I can format the cells as dates, but they're not *really* dates. For
instance, if I format the cell as a number, I should get the serial date.
Or, if I change the date format from mm/dd/yy to m/d/yyyy, it should change.
If I manually delete a /, retype it and hit enter, it suddenly recognizes it
as a date. But, if I try to automate this workaround with a find/replace, it
still doesn't recognize it as a date. What's up? I *really* don't want to
manually do it with a thousand cells.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,939
Default Date Format "stuck"

Normally it will work with find and replace (find the slash and replace it
with the identical slash or find and replcae the 0 with a 0) so long as you
reformt the cell to date prior to doing the replace. Failing that you can
use the excel function Datevalue which takes a date in text and returns the
Serial date...
--
HTH...

Jim Thomlinson


"Undrline" wrote:

Sometimes - especially when I copy/paste from Access - dates look like dates,
I can format the cells as dates, but they're not *really* dates. For
instance, if I format the cell as a number, I should get the serial date.
Or, if I change the date format from mm/dd/yy to m/d/yyyy, it should change.
If I manually delete a /, retype it and hit enter, it suddenly recognizes it
as a date. But, if I try to automate this workaround with a find/replace, it
still doesn't recognize it as a date. What's up? I *really* don't want to
manually do it with a thousand cells.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Date Format "stuck"

So, I tried that before I saw your post. I had all the dates formatted as
number so I would see the change. I replaced all the slashes with an
identical one. I didn't see any change . . . but, what had happened was it
not only recognized it as a date, it changed all the cells to the appropriate
format. The way I figured out that it was happening correctly was that the
dates in my pivot table suddenly sorted correctly when I refreshed it.

Thank you for the answer.



"Jim Thomlinson" wrote:

Normally it will work with find and replace (find the slash and replace it
with the identical slash or find and replcae the 0 with a 0) so long as you
reformt the cell to date prior to doing the replace. Failing that you can
use the excel function Datevalue which takes a date in text and returns the
Serial date...
--
HTH...

Jim Thomlinson


"Undrline" wrote:

Sometimes - especially when I copy/paste from Access - dates look like dates,
I can format the cells as dates, but they're not *really* dates. For
instance, if I format the cell as a number, I should get the serial date.
Or, if I change the date format from mm/dd/yy to m/d/yyyy, it should change.
If I manually delete a /, retype it and hit enter, it suddenly recognizes it
as a date. But, if I try to automate this workaround with a find/replace, it
still doesn't recognize it as a date. What's up? I *really* don't want to
manually do it with a thousand cells.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,939
Default Date Format "stuck"

When you change formatts of source data for a pivot table you need to refresh
the pivot table twice for the change to take effect. Just a quirk of pivot
tables. That could have been the problem...
--
HTH...

Jim Thomlinson


"Undrline" wrote:

So, I tried that before I saw your post. I had all the dates formatted as
number so I would see the change. I replaced all the slashes with an
identical one. I didn't see any change . . . but, what had happened was it
not only recognized it as a date, it changed all the cells to the appropriate
format. The way I figured out that it was happening correctly was that the
dates in my pivot table suddenly sorted correctly when I refreshed it.

Thank you for the answer.



"Jim Thomlinson" wrote:

Normally it will work with find and replace (find the slash and replace it
with the identical slash or find and replcae the 0 with a 0) so long as you
reformt the cell to date prior to doing the replace. Failing that you can
use the excel function Datevalue which takes a date in text and returns the
Serial date...
--
HTH...

Jim Thomlinson


"Undrline" wrote:

Sometimes - especially when I copy/paste from Access - dates look like dates,
I can format the cells as dates, but they're not *really* dates. For
instance, if I format the cell as a number, I should get the serial date.
Or, if I change the date format from mm/dd/yy to m/d/yyyy, it should change.
If I manually delete a /, retype it and hit enter, it suddenly recognizes it
as a date. But, if I try to automate this workaround with a find/replace, it
still doesn't recognize it as a date. What's up? I *really* don't want to
manually do it with a thousand cells.

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
Mileage Claim Formula johndavies New Users to Excel 4 August 14th 06 09:24 AM
Cell date format doesnt change Jon Excel Worksheet Functions 5 March 7th 06 04:52 PM
Change general format to US date format woodlot4 Excel Discussion (Misc queries) 3 October 11th 05 12:29 AM
Customized Date Format Frustrated Excel Worksheet Functions 5 October 7th 05 11:30 PM
Compare dates (one cell not in date format) craigcsb Excel Discussion (Misc queries) 5 June 28th 05 05:07 PM


All times are GMT +1. The time now is 04:23 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"