Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / General Excel Questions / May 2008

Tip: Looking for answers? Try searching our database.

Formatting in Excel

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Darrel - 20 May 2008 03:57 GMT
I have imported a database and cannot format the phone numbers I have tried
formatting the cells prior to importing and also tried conditional
formatting.  For some reason these numbers always show up without a space
between the brackets.  Can anyone help?
Fred Smith - 20 May 2008 06:28 GMT
< Can anyone help? > Yes.

Just tell us what the data looks like, and what you want it to be.

Regards
Fred.

>I have imported a database and cannot format the phone numbers I have tried
> formatting the cells prior to importing and also tried conditional
> formatting.  For some reason these numbers always show up without a space
> between the brackets.  Can anyone help?
Dave Peterson - 20 May 2008 12:42 GMT
It sounds like that the data is text--not real numbers.

Try a few functions that'll describe that cell (before you retype the value).

=istext(a1)
=isnumber(a1)
=len(a1)

You could be pasting extra characters into that cell--maybe extra spaces or
those HTML non-breaking spaces (char(160)'s).

Depending on what you find out, ...

David McRitchie has a macro that can help clean this:
http://www.mvps.org/dmcritchie/excel/join.htm#trimall
(look for "Sub Trimall()")

And if you're new to macros, you may want to read David's intro:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

> I have imported a database and cannot format the phone numbers I have tried
> formatting the cells prior to importing and also tried conditional
> formatting.  For some reason these numbers always show up without a space
> between the brackets.  Can anyone help?

Signature

Dave Peterson

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.