Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
How to add "-" into 10 digit numbers
Having a column with 10 digit alphanumeric data (ie H1187600) I need to add
dashes after the 2nd and the 6th digit to look like H1-1876-00. Shouldn't be difficult? |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
How to add "-" into 10 digit numbers
Try this:
=LEFT(A1,2)&"-"&MID(A1,3,4)&"-"&RIGHT(A1,2) I assume you mean you are starting with 8 digit data and want it to become 10 digit (characters). Hope this helps. Pete On Apr 28, 1:36*pm, Dr. S <Dr. wrote: Having a column with 10 digit alphanumeric data (ie H1187600) I need to add dashes after the 2nd and the 6th digit to look like H1-1876-00. Shouldn't be difficult? |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
How to add "-" into 10 digit numbers
|
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
How to add "-" into 10 digit numbers
=REPLACE(REPLACE(A1,3,,"-"),8,,"-")
"Dr. S" wrote: Having a column with 10 digit alphanumeric data (ie H1187600) I need to add dashes after the 2nd and the 6th digit to look like H1-1876-00. Shouldn't be difficult? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Validation ?:Accepting both Numbers AND specific letters("N","n"," | Excel Discussion (Misc queries) | |||
change "true" and "false" to "availble" and "out of stock" | Excel Worksheet Functions | |||
Mail Merge drops 1st digit ("0") converting from Excel to Word | Excel Discussion (Misc queries) | |||
HELP on "left","right","find","len","substitute" functions | Excel Discussion (Misc queries) | |||
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next | New Users to Excel |