1

I have datasets in a File GDB Feature Class and an Excel table. I want to join them on a field named JOINFIELD. I have the same field name in the FC & in the top line of a column in the Excel sheet. When I am choosing the fields for the join I see the one in the FC, then I select the Excel file to join to it but the drop down menu does not show my JOINFIELD from the excel file, so I can not join on it.

If I do the reverse, bring the Excel table into ArcMap and try to join to the spatial FC I do see the JOINFIELD in the Excel table join options but once I point to the FC to join to the JOINFIELD does not appear in the drop down menu of fields to join on from the FC, even though I know it is there.

I have tried changing the Excel file to .csv but no change.

The values in the JOINFIELD are numeric and I have confirmed they are identical in both the FC and the Excel table. There is only 4 records so it should have little problem joining.

Why do the fields not show for joining?

Vince
20.5k16 gold badges49 silver badges65 bronze badges
asked Jun 29, 2021 at 20:17
3
  • Are you sure there are no spaces in the file name or sheet name, or in the field name? Per ESRI: "The name of the .xls file and the name of the worksheet must not have spaces or special characters other than underscores, and must not begin with a number." support.esri.com/en/technical-article/000008903 Commented Jun 29, 2021 at 21:46
  • 1
    When push comes to shove, Excel is not a database format, nor is CSV. If you load the data into a FGDB table, you'll have far more control when it comes time to do a join. Commented Jun 30, 2021 at 3:34
  • No spaces in the worksheet or field names but there was a space in the file name, however the problem went away when I re-created the whole sheet from scratch and still had a space in the name but the join worked as expected. Go figure. Commented Jun 30, 2021 at 22:15

1 Answer 1

1

Join fields have to be the same basic data type (text vs. number). In a table read in from Excel that is wildly uncertain depending on the contents of the column. It's safer to convert it to a real database table.

answered Jul 15, 2021 at 21:11

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.