Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
We are doing a data conversion from OpenVMS to Quicbooks by converting to an
Excel comma delimited file and importing to Quicbooks. Our problem: Column O, P and R are phone numbers, fax numbers and cell phone numbers and are entered in the cell as 10 digit numbers (Ex: 1234567890) and we need them converted to 123.456.7890 (not just displayed, but actually in the field.) The columns have headers in row one and the data values are from row 2 through 1141. I have tried cut and paste special to a new column using custom formatting ###.###.#### which ends up as ##########.. We cannot figure out how to do it and have very little experience with Excel formulas. PLEASE HELP! |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Something like this:
Sub Macro3() Dim Cell As Range Dim MyRng As Range Set MyRng = Range("O2:P1141,R2:R1141") For Each Cell In MyRng Cell.Value = Left(Cell, 3) & "." & Mid(Cell, 4, 3) & "." & Right(Cell, 4) Next Cell End Sub HTH, Jim May "Cam" wrote in message : We are doing a data conversion from OpenVMS to Quicbooks by converting to an Excel comma delimited file and importing to Quicbooks. Our problem: Column O, P and R are phone numbers, fax numbers and cell phone numbers and are entered in the cell as 10 digit numbers (Ex: 1234567890) and we need them converted to 123.456.7890 (not just displayed, but actually in the field.) The columns have headers in row one and the data values are from row 2 through 1141. I have tried cut and paste special to a new column using custom formatting ###.###.#### which ends up as ##########.. We cannot figure out how to do it and have very little experience with Excel formulas. PLEASE HELP! |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
If you want a formula...
=MID(D2,1,3)&"."&MID(D2,4,3)&"."&MID(D2,7,99) This assumes your telephone numbers are in Column D. -- Jim Cone San Francisco, USA http://www.realezsites.com/bus/primitivesoftware "Cam" wrote in message We are doing a data conversion from OpenVMS to Quicbooks by converting to an Excel comma delimited file and importing to Quicbooks. Our problem: Column O, P and R are phone numbers, fax numbers and cell phone numbers and are entered in the cell as 10 digit numbers (Ex: 1234567890) and we need them converted to 123.456.7890 (not just displayed, but actually in the field.) The columns have headers in row one and the data values are from row 2 through 1141. I have tried cut and paste special to a new column using custom formatting ###.###.#### which ends up as ##########.. We cannot figure out how to do it and have very little experience with Excel formulas. PLEASE HELP! |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formatting of numbers in a cell on another sheet | Excel Worksheet Functions | |||
How do you remove duplicate phone numbers in an Excel spreadsheet | Excel Discussion (Misc queries) | |||
Why are 1/2 my numbers imported as text and the rest as numbers? | Excel Discussion (Misc queries) | |||
using vlookup to find phone numbers online | Excel Discussion (Misc queries) | |||
how to use excel to track phone numbers | New Users to Excel |