#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 55
Default Cell format changes

I have a large group of cells (48) whose format is text, with data that looks
like a date (1-9-01) but is not actually a date.

When I use the replace function to change -9- to -10- it changes the format
of the cells from text to date. How do I keep the replace function from
overriding my chosen settings, without altering the way my data appears?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Cell format changes

You can format all the cells first as Text, and then the change to dates
should not occur.

But, do you really need to use the hyphen? You could search all the cells
for hyphen and replace with underscore (or full-stop), and then if you
subsequently search for _9_ and replace with _10_ (or .9. to .10.) this
should not invoke a change to dates.

Hope this helps.

Pete

"FP Novice" wrote in message
...
I have a large group of cells (48) whose format is text, with data that
looks
like a date (1-9-01) but is not actually a date.

When I use the replace function to change -9- to -10- it changes the
format
of the cells from text to date. How do I keep the replace function from
overriding my chosen settings, without altering the way my data appears?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 55
Default Cell format changes

I think that a change from the hyphen is the only resort as it overrides my
formatting everytime. The only way to keep excel from assuming it is a date
is to remove the hyphen (as near as I can tell anyway).

Thanks Pete

"Pete_UK" wrote:

You can format all the cells first as Text, and then the change to dates
should not occur.

But, do you really need to use the hyphen? You could search all the cells
for hyphen and replace with underscore (or full-stop), and then if you
subsequently search for _9_ and replace with _10_ (or .9. to .10.) this
should not invoke a change to dates.

Hope this helps.

Pete

"FP Novice" wrote in message
...
I have a large group of cells (48) whose format is text, with data that
looks
like a date (1-9-01) but is not actually a date.

When I use the replace function to change -9- to -10- it changes the
format
of the cells from text to date. How do I keep the replace function from
overriding my chosen settings, without altering the way my data appears?




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Cell format changes

Glad to be of help.

Just replace it with a character that allows you to read it but is not
recognised by Excel as a date (or time) delimiter.

Pete

On Feb 29, 7:51*pm, FP Novice
wrote:
I think that a change from the hyphen is the only resort as it overrides my
formatting everytime. The only way to keep excel from assuming it is a date
is to remove the hyphen (as near as I can tell anyway).

Thanks Pete



"Pete_UK" wrote:
You can format all the cells first as Text, and then the change to dates
should not occur.


But, do you really need to use the hyphen? You could search all the cells
for hyphen and replace with underscore (or full-stop), and then if you
subsequently search for _9_ and replace with _10_ (or .9. to .10.) this
should not invoke a change to dates.


Hope this helps.


Pete


"FP Novice" wrote in message
...
I have a large group of cells (48) whose format is text, with data that
looks
like a date (1-9-01) but is not actually a date.


When I use the replace function to change -9- to -10- it changes the
format
of the cells from text to date. How do I keep the replace function from
overriding my chosen settings, without altering the way my data appears?- Hide quoted text -


- Show quoted text -


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
Lock Cell Format - Allow copy and paste of data without format change Chris12InKC Excel Worksheet Functions 2 May 9th 23 07:42 PM
Can cell format come from and change with reference cell format jclouse Excel Discussion (Misc queries) 1 November 29th 06 03:20 AM
Excel Auto-Format cell to email format Please Help Me Excel Discussion (Misc queries) 1 March 23rd 06 05:15 PM
How do I copy data in single cell format to a merged cell format Paul Excel Discussion (Misc queries) 1 June 27th 05 11:00 AM


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