Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
when importing fixed width text file, all leading zeros are dropped. Is
there a way to add a decimal point to the beginning of a number? i.e. text file data = 0004 data = 0125 preferred outcome in excel 00.04 01.25 all custom formatting i have tried puts decimal to the left of number any ideas thanks |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
First import your data as text, so A1 contains 0004
Then in B1 enter: =LEFT(A1,2) & "." & RIGHT(A1,2) and copy down -- Gary''s Student - gsnu200765 "ssetech" wrote: when importing fixed width text file, all leading zeros are dropped. Is there a way to add a decimal point to the beginning of a number? i.e. text file data = 0004 data = 0125 preferred outcome in excel 00.04 01.25 all custom formatting i have tried puts decimal to the left of number any ideas thanks |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
if you need the result as number you can use:
assuming 0004 is on a1 on b1 use and 0125 on a2 =abs(a1)/100 copy it down so excel will return 0.04 and 1.25 hth -- regards from Brazil Thanks in advance for your feedback. Marcelo "ssetech" escreveu: when importing fixed width text file, all leading zeros are dropped. Is there a way to add a decimal point to the beginning of a number? i.e. text file data = 0004 data = 0125 preferred outcome in excel 00.04 01.25 all custom formatting i have tried puts decimal to the left of number any ideas thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
add decimal to beginning of number | Excel Discussion (Misc queries) | |||
How do I keep the 0 at the beginning of a number, ex. 090? | New Users to Excel | |||
Converting 2-place decimal value to floating point decimal number with leading zero | Excel Discussion (Misc queries) | |||
convert imported data with . separator for decimal into , separato | Excel Discussion (Misc queries) | |||
Zero at the beginning of a number | Excel Discussion (Misc queries) |