Solved

Excel 2010 import is formatting column

Posted on 2011-03-01
3
192 Views
Last Modified: 2012-05-11
I am importing a CSV file into Excel 2010 as text.

When I import, I choose that I want to take it as text so that the numbers remain the same e.g. 0005 is imported as 0005.

The import however is losing the zeros and importing 5 into the column.

I have ensured that I have the import setting to text and have also set the column properties to text but it still loses the zeros.

I have uploaded a section of the file I am uploading. The line foto 0005 is an example


example.csv
0
Comment
Question by:aideb
  • 2
3 Comments
 
LVL 50

Accepted Solution

by:
teylyn earned 500 total points
ID: 35006103
Hello,

I cannot re-create the problem with Excel 2010. I used both File - Open and Data - From Text, specified the file as delimited, with commas, and set the third column to be text. Attached is the result. No issues with missing leading zeros. See attached.

Can you detail the steps that you are taking?

cheers, teylyn
Book4.xlsx
0
 
LVL 2

Author Closing Comment

by:aideb
ID: 35006156
I worked out what was happening. As the first column was so large, I didn't see that I needed to select the 3rd column to be text. I thought every column was selected.

User error!

Thanks for your help
0
 
LVL 50

Expert Comment

by:teylyn
ID: 35006179
Hah! That first column threw me too, at first. I thought there was something wrong with the data, seeing that the first column starts with a " quote and I first thought that this was the reason that all the data was in one column only.

Until I decided to scroll to the right.  :-))

Thanks for the grade and I'm glad I was able to put you on the right track.

cheers, teylyn
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now