Author Topic: Need help with excel  (Read 103 times)

Offline BlckMgk

  • Nickel Member
  • ***
  • Posts: 716
Need help with excel
« on: October 27, 2004, 08:16:14 AM »
I have a column"Phone" formated:

0123456789

i need to format it to:
(012) 345-6789

I can do it using an SQL based program

"(" + substr(Phone,1,3,) + ") "+ substr(Phone,4,3)+"-" +substr(Phone,7,3)

But don't have a clue with Excel

Suggestions?
_____

And another question... I inserted 3 columns to the end of the file, and when I do a "SAVE AS" to a dbaseIV file it eliminates the last 3 columns I just inserted.

Please I need help with this folks.

Thanks
-BM

Offline Lizking

  • Parolee
  • Gold Member
  • *****
  • Posts: 2502
Need help with excel
« Reply #1 on: October 27, 2004, 08:20:42 AM »
Format/cell/special/phonenumber

edit-for the last question, change the printable area, it sounds like.

Offline straffo

  • Persona Non Grata
  • Plutonium Member
  • *******
  • Posts: 10029
Need help with excel
« Reply #2 on: October 27, 2004, 08:22:10 AM »
Right click on the cell ,select the format menuitem, select custom format  paste this in the edit box :
(000) 000-0000

for your last question check if your column name is less or equal to 8 char length.
« Last Edit: October 27, 2004, 08:24:29 AM by straffo »