Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I need to insert a leading zero. But, I only need it in the event that the
string is only 7 or fewer characters. 3032009 would become 03032009 12122008 would remain 12122008 Thank you!!! |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
In B1, use the formula =text(a1,"0000000")
"Paperback Writer" wrote: I need to insert a leading zero. But, I only need it in the event that the string is only 7 or fewer characters. 3032009 would become 03032009 12122008 would remain 12122008 Thank you!!! |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=TEXT(A2,"00000000") if you want it as text, or format the display as
00000000 -- David Biddulph Paperback Writer wrote: I need to insert a leading zero. But, I only need it in the event that the string is only 7 or fewer characters. 3032009 would become 03032009 12122008 would remain 12122008 Thank you!!! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copy string of characters | Excel Discussion (Misc queries) | |||
summing characters in a string | Excel Worksheet Functions | |||
select a string of characters | Excel Worksheet Functions | |||
get characters from a string in excel | Excel Worksheet Functions | |||
Insert characters in a text string | Excel Worksheet Functions |