Custom format

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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 Cells>Number and select
Custom at the bottom of the list. Type 000-00000-00 in the 'Type:' field &
click OK.

HTH |:>)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top