Formatting Cells

B

Bill Smith

Using Access2003: I received a spreadsheet with a list of descriptions and
numbers. The numbers are formated 12345678. I need to format the numbers to
read 123-456-78. I used the custom function (under format
cells/Number/Custom) as such 000-000-00 for the column containing the
numbers. The only way the spreadsheed will desplay it correctly is if I
double-click in each field. I have 9700 records. Is there an easier way?

Thanks!
 
P

Peo Sjoblom

Select an empty cell, format it with your custom format, then copy the empty
cell, select all records and do edit>paste special and select add
That way you will copy the format at the same time you will add zero (empty
cells when calculated are zero in Excel) force a calculation while no value
will be added
 
G

Guest

It sounds like the "numbers" in Excel are actually TEXT.

Try this:

Select the range of "numbers"

From the Excel main menu:
<data><text to columns>.....Click the [finish] button

Does that help?
***********
Regards,
Ron

XL2002, WinXP
 
B

Bill Smith

Peo said:
Select an empty cell, format it with your custom format, then copy
the empty cell, select all records and do edit>paste special and
select add That way you will copy the format at the same time you will add
zero
(empty cells when calculated are zero in Excel) force a calculation
while no value will be added


That did it. Thanks Peo!
 
B

Bill Smith

Ron said:
It sounds like the "numbers" in Excel are actually TEXT.

Try this:

Select the range of "numbers"

From the Excel main menu:
<data><text to columns>.....Click the [finish] button

Does that help?
***********
Regards,
Ron

XL2002, WinXP


Thanks Ron. This worked too. You guys just saved me a bunch of work!
Thanks again.
 

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