#1   Report Post  
Marta
 
Posts: n/a
Default Custom format

I have a column of 13 digit numbers imported from another program. They all
end in 000. I need to first remove the 000 and then format them to look like
this 123-45678-90.
TIA for your help.
Marta
  #2   Report Post  
CyberTaz
 
Posts: n/a
Default

Hello Marta-

As long as 000 appears nowhere other than at the end of each cell's content,
you can use Ctrl+H (Find & Replace) and put 000 in the 'Find what:' field,
don't put anything in the 'Replace with:' field. If 000 does appeare
elsewhere, you can still use this technique, but you have to use the Replace
button instead of Replace All.

For the format, select the cells and go to Format CellsNumber and select
Custom at the bottom of the list. Type 000-00000-00 in the 'Type:' field &
click OK.

HTH |:)

"Marta" wrote:

I have a column of 13 digit numbers imported from another program. They all
end in 000. I need to first remove the 000 and then format them to look like
this 123-45678-90.
TIA for your help.
Marta

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 will not format numbers correctly for a 13 digit custom barc. Laudan Excel Worksheet Functions 4 April 11th 05 08:13 PM
Keep custom format in new worksheet Buddy Excel Discussion (Misc queries) 2 March 14th 05 10:03 AM
How do I format a cell for a custom part number? PJ Excel Discussion (Misc queries) 4 March 3rd 05 03:57 AM
Custom Format for ¢ Stephen POWELL Excel Discussion (Misc queries) 0 February 25th 05 07:11 PM
Custom Time Format doesn't work for me chuck Excel Discussion (Misc queries) 1 February 13th 05 04:12 AM


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