updating phone number formatting

L

lostinformulas

Hi everyone,
I need help, again. I have several worksheet that I need to combine the
information in order to upload into a access database. I problem that
I'm having is the phone numbers are formatted differently therefore
they are not all of the are uploading. The Access data base field is
classified as text. The phone numbers that did upload correct are
formatted as special / phone numbers. I tried changing the cells
formatting but it doesn't update the existing information. It does
update if I type the number in by hand.

Is there away of updating the existing numbers to be formatted like the
example below.
(555) 777-4444.

All suggestions are always appreciated.
Thanks
Lostinformulas
 
V

VBA Noob

Hi,


The format you want is (###) ###-####.

However if your numbers has spaces it will read as text. You could us
a extra column with this formula to remove one space

=SUBSTITUTE(A1," ","",1)

Drag down and covert to number then custom format as above.

If this doen't help a sample of the data would be useful

VBA Noob
 
L

lostinformulas

This is how the numbers are formatted in column "G"
800-942-5590
484-553-2066
254-715-2503
952-294-2990
715-284-5732
734-326-7844
405-387-9415
205-792-1208

Thanks
lostinformula
 
V

VBA Noob

So say in Col H1 enter the below and drag down

=SUBSTITUTE(G1,"-","")

Then copy and paste special values.

Next you should get excel paste box options. Select and change t
number.

Next custom format cells as (###) ###-####

Hopefully job done.

VBA Noo
 
B

Beege

lost,

i wish that excel had masking similar to Access, so that numbers that will
never get calculated, like phone, zip or part numbers could be entered (as
text) but be displayed with parentheses, dashes, points in the correct
places.

Does anyone know if MS has plans or this in future release?

Beege

"lostinformulas"
 

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

Top