ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Custom formating for special cases in cells (https://www.excelbanter.com/excel-discussion-misc-queries/209419-custom-formating-special-cases-cells.html)

Eddie Morris

Custom formating for special cases in cells
 
Dear Experts,

I have a situation where I import tabular data from an engineering drawing
in which some data may be of the form 012.
However, upon typing 012, excel automatically deletes teh number '0'.
Is there a workaround this
Any information greatly appreciated.

Kind Regards
Ed

Mike H

Custom formating for special cases in cells
 
Hi,

Type ' then enter the number. It won't show in the cell.

Mike

"Eddie Morris" wrote:

Dear Experts,

I have a situation where I import tabular data from an engineering drawing
in which some data may be of the form 012.
However, upon typing 012, excel automatically deletes teh number '0'.
Is there a workaround this
Any information greatly appreciated.

Kind Regards
Ed


Ron Rosenfeld

Custom formating for special cases in cells
 
On Fri, 7 Nov 2008 01:57:00 -0800, Eddie Morris
wrote:

Dear Experts,

I have a situation where I import tabular data from an engineering drawing
in which some data may be of the form 012.
However, upon typing 012, excel automatically deletes teh number '0'.
Is there a workaround this
Any information greatly appreciated.

Kind Regards
Ed


It depends on how you are importing the data and the nature of the data.

If it is a .txt file, the text import wizard will give you the opportunity to
specify that column as TEXT prior to the import.

If it is a .csv file, you will need to rename the file to <original_name.txt
first.

If your engineering program is in Excel format, you will have to change that
within the external program.

If all of the "numbers" have three digits, including the leading "0", you can
do some manipulations after importing.
--ron


All times are GMT +1. The time now is 11:14 PM.

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