<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: table join when the field is not exactly the same in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/table-join-when-the-field-is-not-exactly-the-same/m-p/68273#M3953</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;...and my 2 cents...&lt;/P&gt;&lt;P&gt;I agree with not joining to an Excel and creating a FGDB table (like &lt;A href="https://community.esri.com/people/Dan_Patterson"&gt;Dan_Patterson&lt;/A&gt;&amp;nbsp;, my preference) or Access.&amp;nbsp; As&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/5768"&gt;Ted Kowal&lt;/A&gt;&amp;nbsp; mentioned, you need to figure out your rules first.&amp;nbsp; If the feature class only have the numbers, and the Excel may or may not, I would add a temp field and calc that to equal the to the featureclass format and then match on that.&amp;nbsp; &amp;nbsp;Whether you populate this new field in Excel or the FGDB/Access table may depend on where you are more comfortable doing calculations, but you will want the field format to be the same once ready to join.&amp;nbsp; One you get what you need, you can always delete this temp field (assuming you don't need a join anymore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need to make the join permanent, with all or a selected set of the fields, try using&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/join-field.htm" title="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/join-field.htm"&gt;Join Field—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/manage-data/tables/joining-attributes-in-one-table-to-another.htm" title="http://desktop.arcgis.com/en/arcmap/latest/manage-data/tables/joining-attributes-in-one-table-to-another.htm"&gt;Joining attributes in one table to another—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the same rules of getting you join field to match will apply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Nov 2017 15:39:43 GMT</pubDate>
    <dc:creator>RebeccaStrauch__GISP</dc:creator>
    <dc:date>2017-11-16T15:39:43Z</dc:date>
    <item>
      <title>table join when the field is not exactly the same</title>
      <link>https://community.esri.com/t5/data-management-questions/table-join-when-the-field-is-not-exactly-the-same/m-p/68269#M3949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to join a feature class and an excel table by a field name is not exactly the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our feature class&amp;nbsp;has points named similar to this "XYZ 123", but the excel labels the field as "BM XYZ 123".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you see they are very close to one another, but not exact. My department has a great amount of data to do this for that is why I was seeing if there is a script or a way to accomplish this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 20:25:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/table-join-when-the-field-is-not-exactly-the-same/m-p/68269#M3949</guid>
      <dc:creator>ReubenArvin</dc:creator>
      <dc:date>2017-11-15T20:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: table join when the field is not exactly the same</title>
      <link>https://community.esri.com/t5/data-management-questions/table-join-when-the-field-is-not-exactly-the-same/m-p/68270#M3950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Reuben,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field names can be different.&amp;nbsp; The only issue that may arise is having a space in the excel tables field name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 20:30:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/table-join-when-the-field-is-not-exactly-the-same/m-p/68270#M3950</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2017-11-15T20:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: table join when the field is not exactly the same</title>
      <link>https://community.esri.com/t5/data-management-questions/table-join-when-the-field-is-not-exactly-the-same/m-p/68271#M3951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The field name is not relevant, it the contents within the field and its type. So if you are joining a text field to a text field, you need to remember that case is important and even though a number looks like a number, it may be text.&lt;/P&gt;&lt;P&gt;Also... avoid joining an excel file or even using an excel file if possible.&amp;nbsp; It take very little time to convert an excel file to a table using the Excel tools in Arctoolbox&amp;nbsp; (ie Excel to Table tool)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 20:30:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/table-join-when-the-field-is-not-exactly-the-same/m-p/68271#M3951</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-11-15T20:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: table join when the field is not exactly the same</title>
      <link>https://community.esri.com/t5/data-management-questions/table-join-when-the-field-is-not-exactly-the-same/m-p/68272#M3952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My 2 cents,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no Good way of doing this.... because you have to attack the data from both ends.&amp;nbsp; I point you into a direction that I use in situations like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;What is the ultimate repository rule for you data.&amp;nbsp; Those fields that don't match the rules are incorrect and must changed.&amp;nbsp; The data rule for your feature class states that the "BM" is not required.&amp;nbsp; Your excel sheet has it in it.&amp;nbsp; Which data rule/format is correct?&lt;/LI&gt;&lt;LI&gt;Once your rules have established, then you must correct the data to match those rules. (schema)&lt;OL&gt;&lt;LI&gt;I personally import the excel data sheet into MS Access and&amp;nbsp; create manual pattern matching queries to update the bad data (data that did not meet the rules set above).&lt;/LI&gt;&lt;LI&gt;&lt;A class="link-titled" href="https://www.w3schools.com/sql/sql_like.asp" title="https://www.w3schools.com/sql/sql_like.asp"&gt;SQL LIKE Operator&lt;/A&gt;&amp;nbsp; &amp;nbsp;is a good starting resource on Pattern matching&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;I then do my joins from Access to the feature class - but you can export the data back into an excel spreadsheet if your more comfortable that way&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not know of any magical way of joining two fields that do not match in structure and format other than correcting the data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 20:38:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/table-join-when-the-field-is-not-exactly-the-same/m-p/68272#M3952</guid>
      <dc:creator>TedKowal</dc:creator>
      <dc:date>2017-11-15T20:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: table join when the field is not exactly the same</title>
      <link>https://community.esri.com/t5/data-management-questions/table-join-when-the-field-is-not-exactly-the-same/m-p/68273#M3953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;...and my 2 cents...&lt;/P&gt;&lt;P&gt;I agree with not joining to an Excel and creating a FGDB table (like &lt;A href="https://community.esri.com/people/Dan_Patterson"&gt;Dan_Patterson&lt;/A&gt;&amp;nbsp;, my preference) or Access.&amp;nbsp; As&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/5768"&gt;Ted Kowal&lt;/A&gt;&amp;nbsp; mentioned, you need to figure out your rules first.&amp;nbsp; If the feature class only have the numbers, and the Excel may or may not, I would add a temp field and calc that to equal the to the featureclass format and then match on that.&amp;nbsp; &amp;nbsp;Whether you populate this new field in Excel or the FGDB/Access table may depend on where you are more comfortable doing calculations, but you will want the field format to be the same once ready to join.&amp;nbsp; One you get what you need, you can always delete this temp field (assuming you don't need a join anymore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need to make the join permanent, with all or a selected set of the fields, try using&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/join-field.htm" title="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/join-field.htm"&gt;Join Field—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/manage-data/tables/joining-attributes-in-one-table-to-another.htm" title="http://desktop.arcgis.com/en/arcmap/latest/manage-data/tables/joining-attributes-in-one-table-to-another.htm"&gt;Joining attributes in one table to another—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the same rules of getting you join field to match will apply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 15:39:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/table-join-when-the-field-is-not-exactly-the-same/m-p/68273#M3953</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2017-11-16T15:39:43Z</dc:date>
    </item>
  </channel>
</rss>

