Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
I have a column that I would like to format like the sample below. I want to keep the dashes between the numbers. from 870914143 to 8-709-14143 Thank you so much |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Format cell as:
Custom==0-000-00000 HTH "Mary" wrote: Hi, I have a column that I would like to format like the sample below. I want to keep the dashes between the numbers. from 870914143 to 8-709-14143 Thank you so much |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
THANK YOU SO MUCH ALL
"Toppers" wrote: Format cell as: Custom==0-000-00000 HTH "Mary" wrote: Hi, I have a column that I would like to format like the sample below. I want to keep the dashes between the numbers. from 870914143 to 8-709-14143 Thank you so much |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
try like below: A B 1 870914143 =left(A1,1)&"-"&MID(A1,2,3)&"-"&RIGHT(A1,5) 2 3 4 5 then copy the formula in the cell B1 down to where ever you need it is assumed that all the formats are the same for example if the data in the cell A2 would be 546537365 the result come up like 5-465-37365 so if you don't need the column B you can copy column B and pastespecial-value in the column A and then delete column B. Thanks, -- Farhad Hodjat "Mary" wrote: Hi, I have a column that I would like to format like the sample below. I want to keep the dashes between the numbers. from 870914143 to 8-709-14143 Thank you so much |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Lock Cell Format - Allow copy and paste of data without format change | Excel Worksheet Functions | |||
how do i format a cell based on format of a range of cells? | Excel Discussion (Misc queries) | |||
Replace million-billion number format to lakhs-crores format | Excel Discussion (Misc queries) | |||
how to format excel format to text format with separator "|" in s. | New Users to Excel | |||
When I select "format cells", the format dialog box does not disp. | Excel Worksheet Functions |