Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Inserting "-" dashes into number
I have a number that is always this format: 1993200000002000-02
and I need it to be this format: 199-32-0-00-00-002-00-0-02 Is there an easy formula to make this so? Thanks, Lisa |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Inserting "-" dashes into number
Here is one way to do it...
=TEXT(LEFT(A1,10),"000-00-0-00-00-")&TEXT(SUBSTITUTE(RIGHT(A1,9),"-",""),"000-00-0-00") -- Rick (MVP - Excel) "Lisa W" wrote in message ... I have a number that is always this format: 1993200000002000-02 and I need it to be this format: 199-32-0-00-00-002-00-0-02 Is there an easy formula to make this so? Thanks, Lisa |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Difficulty "countif"-ing number of "L1" or "L2" on an autofiltered | Excel Worksheet Functions | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
macro for converting number stored as "text" (or preceeded with ') to "number" formatting | Excel Programming | |||
macro for converting number stored as "text" (or preceeded with ') to "number" formatting | Excel Programming | |||
inserting a conditional "go to" command on a excel "if" function | Excel Worksheet Functions |