Home » Questions » Computers [ Ask a new question ]

How to prevent truncation of 0 in Excel sheet?

How to prevent truncation of 0 in Excel sheet?

I am copying tabular data from a website: [http://www.infodriveindia.com/TradeResources/STDCode.aspx?STDCode=&City=&State=andaman][1]

Asked by: Guest | Views: 291
Total answers/comments: 2
bert [Entry]

"Change the column type to Text

Right Click the column in question.
Select Format Cells...
Select the Number tab
Select Text

EDIT:

OK, try

Copy data from site
Right click A1 and choose past
special.
Select Text
Select Column A and use Text to
Columns
Select Fixed width and click Next
Remove unwanted breaks (in my case it
would be 2, 4 and 5) and click Next
Change Column 1 type from General to
Text

That should do it."
bert [Entry]

Prefix it with ' (single quote). That's a signal to Excel "treat this value as text".