Excel and CSV in ArcGIS Pro: What’s Built In, and Where Return Ticket Fits

ArcGIS Pro is good at reading spreadsheets and writing them out. It has no built-in way to send attribute data to a colleague in Excel and safely bring their corrections back. This article covers both: the Excel and CSV tools Pro already gives you, and the gap that Return Ticket was built to fill.

Spreadsheets are still how most organizations move tabular data around. Field crews, finance staff, asset managers and consultants all live in Excel. Sooner or later a GIS analyst gets one of two requests: “Can you map this spreadsheet?” or “Can you send me the data so I can fix it?” Pro handles the first request very well. The second is harder than it looks.

Reading Excel and CSV files in ArcGIS Pro

Pro opens Excel workbooks and delimited text files directly, with no conversion step. Both are read-only in Pro.

Excel workbooks. Browse to an .xlsx or .xls file in the Catalog pane, or use Add Data on the Map tab. Each worksheet appears as a table with a $ on the end of its name, such as Inspections$. You can then open it, map it, join it or feed it to a geoprocessing tool. A few things to know:

  • Drivers. Older Pro releases needed the Microsoft Access Database Engine driver before they could read a workbook at all. Current releases fall back to a built-in library when the driver is missing, and the driver is still supported.
  • Field names come from the first row. Keep headers short, start them with a letter, and use only letters, numbers and underscores.
  • Field types come from the column’s values. A column that mixes numbers and text comes back as text. That is why a ZIP code column with a few ZIP+4 values, or an ID column with leading zeros, so often surprises people.
  • Password-protected workbooks aren’t supported.
  • Refresh, don’t restart. If someone saves changes to the workbook while it’s in your project, right-click it and choose Refresh. With the Access driver installed, close Excel first.

CSV and other text files. Pro reads .csv, .txt, .tsv, .psv, .tab and .asc files as tables. It guesses each column’s type. When it can’t decide, it writes a schema.ini file next to the data, which you can edit to force a column to text. This is the fix for IDs that lose their leading zeros.

Because these tables are read-only, you can’t edit a spreadsheet in Pro’s table view. To edit the rows, convert the sheet to a geodatabase table first.

The built-in conversion, mapping and join tools

A handful of tools in Pro cover nearly every spreadsheet-in and spreadsheet-out task:

These tools handle the one-way trips well. Data comes in from a spreadsheet to be mapped or analyzed, or goes out to a spreadsheet as a report. Use Use domain and subtype description when you export for people: they read “Good”, not 2.

ArcGIS for Excel: live editing for people with an ArcGIS account

Esri’s ArcGIS for Excel add-in comes at the problem from the other side: it brings ArcGIS into Excel. Besides mapping spreadsheet data, it can load a feature layer’s attributes into a worksheet. Edits made there sync back to the layer.

That works well when everyone involved fits its model:

  • The editor signs in to ArcGIS with permission to edit the layer, and has the add-in installed in Excel.
  • The data is a feature layer. That can be a hosted layer with editing enabled, or a referenced layer on an enterprise geodatabase or a supported database such as SQL Server, Oracle or PostgreSQL. File and mobile geodatabases aren’t on the list.
  • Edits go straight to the layer as they sync. That suits trusted editors working on live data.

The gap: a round trip through someone else’s Excel

Now take the everyday version of the request. A water utility exports 4,000 valves to Excel and emails the file to a contractor. The contractor has Excel and nothing else: no ArcGIS account, no add-in. They correct a few dozen condition codes and install dates, then send the workbook back two weeks later. Meanwhile, your own team has kept editing the same layer.

The built-in tools can get the file out and back in, but bringing the edits home is where things break:

  1. Finding what changed. Excel To Table gives you the whole sheet back, not the 37 cells that changed. You have to compare it field by field against the original export.
  2. Lost formatting. Excel quietly turns 00417 into 417 and long IDs into 4.17E+11. Dates can become serial numbers. A free-text cell may hold “Gd” where the domain only allows codes.
  3. Conflicts. If your team changed a valve after the export and the contractor changed it too, a straight Calculate Field or Append overwrites one of them without telling you.
  4. No undo. Once the edits are written back to the layer, there’s no easy way to see what the import changed or to put the old values back.

How Return Ticket closes the gap

Return Ticket for ArcGIS Pro, from Location3x, a subsidiary of Geospatial Training Services, is a Python toolbox that adds the missing round trip: export to Excel, edit anywhere, and bring back only what changed. It runs in Pro 3.2 or later and needs nothing beyond what Pro installs. It works with file, mobile and enterprise geodatabases, shapefiles, and hosted or ArcGIS Enterprise feature layers.

Return Ticket round trip: export, edit, preview, apply, roll back

1. Export for Editing writes a workbook designed to survive being edited by someone else:

  • Coded-value domains become dropdown lists, so the contractor picks “Good” rather than typing it.
  • Key and read-only columns are locked; only the fields you choose are editable.
  • Leading zeros, long IDs and dates are stored so Excel can’t mangle them.
  • A hidden copy of the original values travels with the workbook, and a backup copy stays on your computer.

The recipient needs only Excel. No ArcGIS, add-in or account.

2. Import Edits compares the returned workbook with its own snapshot and finds exactly which cells changed, not just which rows. Each change is then:

  • validated against the field’s type, length and domain;
  • conflict-checked against the current data, so a value your team changed since the export is flagged, not silently overwritten;
  • previewed in an HTML report and a change table you can join to the layer and review on the map.

Preview Only is on by default. When the report looks right, run the tool again to apply. The changes are written all-or-nothing in one edit operation, and each one is recorded in a change log.

3. Roll Back Import uses that change log to restore an import’s old values. It only touches cells that still hold the imported value, so edits made after the import are left alone.

Which tool for which job

Use Pro’s built-in tools for one-way trips, ArcGIS for Excel when editors sign in to ArcGIS, and Return Ticket when the editor has only Excel.

Try it

Pro’s spreadsheet tools are worth knowing well. Most Excel and CSV jobs need nothing more. When the job is a round trip, where someone without GIS fixes your attributes and you need back only what they changed, safely, try Return Ticket free for 30 days. Import Edits and Roll Back Import never need a license key, so a workbook that is already out can always come back.

About Location3x. Location3x builds ArcGIS Pro tools for GIS teams. It is a subsidiary of Geospatial Training Services, which provides ArcGIS and Python training for GIS professionals.

Leave a Comment

Your email address will not be published. Required fields are marked *