Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default problem with cell formatting

I have a problem.

In an excel spreadsheet I have a column that has part numbers, and is
formatted 'general'.

Some of the items would be
MAR-123465
MAR-168735
MAR-23148
MAR-2208
MAR-1938

Okay, here is the problem. If I do a replace and try to replace the
'-' in these fields with a blank (simply remove the dash) I end up
getting

MAR123467
MAR158735
MAR23148
Mar-08
Mar-38

When it removes the dash, it arbitrarily changes the format to
"custom" and date. What can I do to get it to simply remove the
dashes but let it show MAR2208 and MAR1938????

I'd appreciate any suggestions.

thanks,
ga

George Applegate

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 618
Default problem with cell formatting

Format the cells as Text, not General.
--
David Biddulph

"George Applegate" wrote in message
...
I have a problem.

In an excel spreadsheet I have a column that has part numbers, and is
formatted 'general'.

Some of the items would be
MAR-123465
MAR-168735
MAR-23148
MAR-2208
MAR-1938

Okay, here is the problem. If I do a replace and try to replace the
'-' in these fields with a blank (simply remove the dash) I end up
getting

MAR123467
MAR158735
MAR23148
Mar-08
Mar-38

When it removes the dash, it arbitrarily changes the format to
"custom" and date. What can I do to get it to simply remove the
dashes but let it show MAR2208 and MAR1938????

I'd appreciate any suggestions.

thanks,
ga

George Applegate



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default problem with cell formatting

David,

I can't believe I said that. I did format them as text, but in my
message I said general. But they are truly formatted as text.

Any other ideas???


"David Biddulph" wrote:

Format the cells as Text, not General.
--
David Biddulph

"George Applegate" wrote in message
.. .
I have a problem.

In an excel spreadsheet I have a column that has part numbers, and is
formatted 'general'.

Some of the items would be
MAR-123465
MAR-168735
MAR-23148
MAR-2208
MAR-1938

Okay, here is the problem. If I do a replace and try to replace the
'-' in these fields with a blank (simply remove the dash) I end up
getting

MAR123467
MAR158735
MAR23148
Mar-08
Mar-38

When it removes the dash, it arbitrarily changes the format to
"custom" and date. What can I do to get it to simply remove the
dashes but let it show MAR2208 and MAR1938????

I'd appreciate any suggestions.


George Applegate

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 620
Default problem with cell formatting

Annoying isn't it?

If you can live with a leading space, if you replace "MAR-" with " MAR",
then Excel won't do its irritating trick of trying to second-guess your
format.
--
David Biddulph

"George Applegate" wrote in message
...
David,

I can't believe I said that. I did format them as text, but in my
message I said general. But they are truly formatted as text.

Any other ideas???


"David Biddulph" wrote:

Format the cells as Text, not General.
--
David Biddulph

"George Applegate" wrote in message
. ..
I have a problem.

In an excel spreadsheet I have a column that has part numbers, and is
formatted 'general'.

Some of the items would be
MAR-123465
MAR-168735
MAR-23148
MAR-2208
MAR-1938

Okay, here is the problem. If I do a replace and try to replace the
'-' in these fields with a blank (simply remove the dash) I end up
getting

MAR123467
MAR158735
MAR23148
Mar-08
Mar-38

When it removes the dash, it arbitrarily changes the format to
"custom" and date. What can I do to get it to simply remove the
dashes but let it show MAR2208 and MAR1938????

I'd appreciate any suggestions.


George Applegate



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
Cell formatting problem Stormy Excel Discussion (Misc queries) 5 July 13th 06 11:59 PM
Excel 2003 print problem with conditional formatting cell selected MarkGerritsen Excel Discussion (Misc queries) 1 March 22nd 06 03:48 PM
Urgent date/scheduling calc needed jct Excel Worksheet Functions 3 February 24th 06 02:36 AM
Conditioal formatting problem HDV Excel Discussion (Misc queries) 3 September 22nd 05 04:04 PM
cell formatting problems jazzsax505 New Users to Excel 2 May 29th 05 11:30 PM


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