0

I have a large set of points in ArcMap desktop. In the attribute table I have a column called ID, where each point have an individual number. Some of these numbers starts with a double-zero, which is fine in the attribute table. However, when I export the attribute table into excel, the zeros in the beginning of the numbers are lost.

I'm doing a simple mark in ArcMap and the chose "copy selected" before I paste it in Excel. Is there a better way of doing this so that I can keep my zeros? Or do I need to solve this matter in Excel, and do you have any suggestions on how to?

Hornbydd
44.9k5 gold badges42 silver badges84 bronze badges
asked Nov 22, 2018 at 8:57
1
  • In order to add zeros at the left side of the number, the field should be defined as text, you cannot add zeros to the ID number if the field type is integer or Double or any numeric format. It seems that the ID field in ArcMap is defined as text (string) and when you select that value and paste it in Excel it was converted to digits (numbers) automatically. You can change that in Excel, please have a look at this site: exceljet.net/formula/pad-a-number-with-zeros Commented Nov 22, 2018 at 9:37

1 Answer 1

1

I do not work in Arcmap, so I do not know what you use for "export", but when you are reading the export file in excel it recognizes that column as a number and not as a text which is what you want.

Assuming you are producing a text file, in order to read the data as text type in excel, you need to select the right data type in the 3rd step of the text import wizard.

Select Text for your column.

enter image description here

answered Nov 22, 2018 at 10:20

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.