I would like to convert a column in a spreadsheet from a double to a string so I can join the data with a shp file. What is the easiest way to do it?
|
To do this in ArcGIS:
I am suggesting to do this in ArcGIS because I think you want to use this field as a "join"? If so, add the shapefile to ArcMap, right click on the layer and select "Joins and Relates". |
|||
|
|
|
USE ArcCatalog. Create a GDB, import the table (single) into it. Below in the fields you can right click on the field you want to change to STRING, and simply change the type to STRING for that field. Easy peasey. |
|||
|
|
|
Microsoft has a page dedicated to this with a range of solutions: |
|||
|
|
You can use the CONCATENATE function (if using Excel) to form a single quoted string. e.g.: =CONCATENATE("'",A1,"'") where this formula refers to the first row, and can be copied to other rows as well. |
|||
|
|
|
Usually it suffices to force the field value in the first data row to be a string, for then the software is obliged to treat the entire column as string data. An easy way is to insert a single quote (') mark at the beginning of the value. |
|||||||
|

