ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Stop automatically removing leading zeros? (https://www.excelbanter.com/excel-discussion-misc-queries/210575-stop-automatically-removing-leading-zeros.html)

Jessica P[_2_]

Stop automatically removing leading zeros?
 
Our database has a report that pulls information into an Excel file, which I
then open. When I open the file, Excel automatically removes the leading
zeros, but I need those leading zeros. There are different numbers of leading
zeros for each line, so I can't just automatically add a zero to each one or
something like that. I don't have access to the report to change how it puts
the data in, so I really need a way to tell Excel to NOT auto "correct" this.
How can I do this? For the record, I'm using Excel 2002.

Thanks!

Peo Sjoblom[_2_]

Stop automatically removing leading zeros?
 
Import the field as text, that's the only way.

--


Regards,


Peo Sjoblom

"Jessica P" wrote in message
...
Our database has a report that pulls information into an Excel file, which
I
then open. When I open the file, Excel automatically removes the leading
zeros, but I need those leading zeros. There are different numbers of
leading
zeros for each line, so I can't just automatically add a zero to each one
or
something like that. I don't have access to the report to change how it
puts
the data in, so I really need a way to tell Excel to NOT auto "correct"
this.
How can I do this? For the record, I'm using Excel 2002.

Thanks!




Jessica P[_2_]

Stop automatically removing leading zeros?
 
But I'm not importing it- I'm essentially opening a preexisting spreadsheet.
And Excel just takes it upon itself to make changes that I don't want. Surely
there is some option somewhere to tell it not to automatically change things?

"Peo Sjoblom" wrote:

Import the field as text, that's the only way.

--


Regards,


Peo Sjoblom

"Jessica P" wrote in message
...
Our database has a report that pulls information into an Excel file, which
I
then open. When I open the file, Excel automatically removes the leading
zeros, but I need those leading zeros. There are different numbers of
leading
zeros for each line, so I can't just automatically add a zero to each one
or
something like that. I don't have access to the report to change how it
puts
the data in, so I really need a way to tell Excel to NOT auto "correct"
this.
How can I do this? For the record, I'm using Excel 2002.

Thanks!






All times are GMT +1. The time now is 03:02 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com