![]() |
Formatting in Excel
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? |
Formatting in Excel
< Can anyone help? Yes.
Just tell us what the data looks like, and what you want it to be. Regards Fred. "Darrel" wrote in message ... 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? |
Formatting in Excel
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 Darrel wrote: 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 |
All times are GMT +1. The time now is 07:07 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com